Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
7353248c
Commit
7353248c
authored
Nov 02, 2004
by
Anton Altaparmakov
Browse files
Options
Browse Files
Download
Plain Diff
Merge
ssh://linux-ntfs@bkbits.net/ntfs-2.6-devel
into cantab.net:/home/src/ntfs-2.6-devel
parents
c259bd94
c1f1940e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
fs/ntfs/ChangeLog
fs/ntfs/ChangeLog
+5
-0
fs/ntfs/aops.c
fs/ntfs/aops.c
+1
-3
fs/ntfs/inode.c
fs/ntfs/inode.c
+2
-2
fs/ntfs/ntfs.h
fs/ntfs/ntfs.h
+0
-3
fs/ntfs/super.c
fs/ntfs/super.c
+5
-5
No files found.
fs/ntfs/ChangeLog
View file @
7353248c
...
...
@@ -56,6 +56,11 @@ ToDo/Notes:
ntfs_prepare_write().
- Remove unused function fs/ntfs/runlist.c::ntfs_rl_merge(). (Adrian
Bunk)
- Fix stupid bug in fs/ntfs/attrib.c::ntfs_attr_find() that resulted in
a NULL pointer dereference in the error code path when a corrupt
attribute was found. (Thanks to Domen Puncer for the bug report.)
- Add MODULE_VERSION() to fs/ntfs/super.c.
- Make several functions and variables static. (Adrian Bunk)
2.1.21 - Fix some races and bugs, rewrite mft write code, add mft allocator.
...
...
fs/ntfs/aops.c
View file @
7353248c
...
...
@@ -348,10 +348,8 @@ static int ntfs_read_block(struct page *page)
* for it to be read in before we can do the copy.
*
* Return 0 on success and -errno on error.
*
* WARNING: Do not make this function static! It is used by mft.c!
*/
int
ntfs_readpage
(
struct
file
*
file
,
struct
page
*
page
)
static
int
ntfs_readpage
(
struct
file
*
file
,
struct
page
*
page
)
{
s64
attr_pos
;
ntfs_inode
*
ni
,
*
base_ni
;
...
...
fs/ntfs/inode.c
View file @
7353248c
...
...
@@ -352,7 +352,7 @@ static inline ntfs_inode *ntfs_alloc_extent_inode(void)
return
NULL
;
}
void
ntfs_destroy_extent_inode
(
ntfs_inode
*
ni
)
static
void
ntfs_destroy_extent_inode
(
ntfs_inode
*
ni
)
{
ntfs_debug
(
"Entering."
);
BUG_ON
(
ni
->
page
);
...
...
@@ -2133,7 +2133,7 @@ void ntfs_put_inode(struct inode *vi)
}
}
void
__ntfs_clear_inode
(
ntfs_inode
*
ni
)
static
void
__ntfs_clear_inode
(
ntfs_inode
*
ni
)
{
/* Free all alocated memory. */
down_write
(
&
ni
->
runlist
.
lock
);
...
...
fs/ntfs/ntfs.h
View file @
7353248c
...
...
@@ -53,7 +53,6 @@ extern kmem_cache_t *ntfs_attr_ctx_cache;
extern
kmem_cache_t
*
ntfs_index_ctx_cache
;
/* The various operations structs defined throughout the driver files. */
extern
struct
super_operations
ntfs_sops
;
extern
struct
address_space_operations
ntfs_aops
;
extern
struct
address_space_operations
ntfs_mst_aops
;
...
...
@@ -86,8 +85,6 @@ extern void free_compression_buffers(void);
/* From fs/ntfs/super.c */
#define default_upcase_len 0x10000
extern
ntfschar
*
default_upcase
;
extern
unsigned
long
ntfs_nr_upcase_users
;
extern
struct
semaphore
ntfs_lock
;
typedef
struct
{
...
...
fs/ntfs/super.c
View file @
7353248c
...
...
@@ -44,6 +44,10 @@
/* Number of mounted file systems which have compression enabled. */
static
unsigned
long
ntfs_nr_compression_users
;
/* A global default upcase table and a corresponding reference count. */
static
ntfschar
*
default_upcase
=
NULL
;
static
unsigned
long
ntfs_nr_upcase_users
=
0
;
/* Error constants/strings used in inode.c::ntfs_show_options(). */
typedef
enum
{
/* One of these must be present, default is ON_ERRORS_CONTINUE. */
...
...
@@ -2175,7 +2179,7 @@ static int ntfs_statfs(struct super_block *sb, struct kstatfs *sfs)
/**
* The complete super operations.
*/
struct
super_operations
ntfs_sops
=
{
st
atic
st
ruct
super_operations
ntfs_sops
=
{
.
alloc_inode
=
ntfs_alloc_big_inode
,
/* VFS: Allocate new inode. */
.
destroy_inode
=
ntfs_destroy_big_inode
,
/* VFS: Deallocate inode. */
.
put_inode
=
ntfs_put_inode
,
/* VFS: Called just before
...
...
@@ -2593,10 +2597,6 @@ static void ntfs_big_inode_init_once(void *foo, kmem_cache_t *cachep,
kmem_cache_t
*
ntfs_attr_ctx_cache
;
kmem_cache_t
*
ntfs_index_ctx_cache
;
/* A global default upcase table and a corresponding reference count. */
ntfschar
*
default_upcase
=
NULL
;
unsigned
long
ntfs_nr_upcase_users
=
0
;
/* Driver wide semaphore. */
DECLARE_MUTEX
(
ntfs_lock
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment