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
nexedi
linux
Commits
43d344d7
Commit
43d344d7
authored
Jan 12, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch hpfs
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
0df6a63f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
9 deletions
+3
-9
fs/hpfs/dentry.c
fs/hpfs/dentry.c
+1
-6
fs/hpfs/dir.c
fs/hpfs/dir.c
+0
-1
fs/hpfs/hpfs_fn.h
fs/hpfs/hpfs_fn.h
+1
-1
fs/hpfs/super.c
fs/hpfs/super.c
+1
-1
No files found.
fs/hpfs/dentry.c
View file @
43d344d7
...
...
@@ -58,12 +58,7 @@ static int hpfs_compare_dentry(const struct dentry *parent,
return
0
;
}
static
const
struct
dentry_operations
hpfs_dentry_operations
=
{
const
struct
dentry_operations
hpfs_dentry_operations
=
{
.
d_hash
=
hpfs_hash_dentry
,
.
d_compare
=
hpfs_compare_dentry
,
};
void
hpfs_set_dentry_operations
(
struct
dentry
*
dentry
)
{
d_set_d_op
(
dentry
,
&
hpfs_dentry_operations
);
}
fs/hpfs/dir.c
View file @
43d344d7
...
...
@@ -298,7 +298,6 @@ struct dentry *hpfs_lookup(struct inode *dir, struct dentry *dentry, struct name
end:
end_add:
hpfs_set_dentry_operations
(
dentry
);
unlock_kernel
();
d_add
(
dentry
,
result
);
return
NULL
;
...
...
fs/hpfs/hpfs_fn.h
View file @
43d344d7
...
...
@@ -233,7 +233,7 @@ void hpfs_mark_4buffers_dirty(struct quad_buffer_head *);
/* dentry.c */
void
hpfs_set_dentry_operations
(
struct
dentry
*
)
;
extern
const
struct
dentry_operations
hpfs_dentry_operations
;
/* dir.c */
...
...
fs/hpfs/super.c
View file @
43d344d7
...
...
@@ -550,6 +550,7 @@ static int hpfs_fill_super(struct super_block *s, void *options, int silent)
/* Fill superblock stuff */
s
->
s_magic
=
HPFS_SUPER_MAGIC
;
s
->
s_op
=
&
hpfs_sops
;
s
->
s_d_op
=
&
hpfs_dentry_operations
;
sbi
->
sb_root
=
superblock
->
root
;
sbi
->
sb_fs_size
=
superblock
->
n_sectors
;
...
...
@@ -651,7 +652,6 @@ static int hpfs_fill_super(struct super_block *s, void *options, int silent)
iput
(
root
);
goto
bail0
;
}
hpfs_set_dentry_operations
(
s
->
s_root
);
/*
* find the root directory's . pointer & finish filling in the inode
...
...
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