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
89b0fc38
Commit
89b0fc38
authored
Oct 23, 2010
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch hfs to hlist_add_fake()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
756acc2d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
4 deletions
+1
-4
fs/hfs/hfs_fs.h
fs/hfs/hfs_fs.h
+0
-2
fs/hfs/inode.c
fs/hfs/inode.c
+1
-1
fs/hfs/super.c
fs/hfs/super.c
+0
-1
No files found.
fs/hfs/hfs_fs.h
View file @
89b0fc38
...
...
@@ -147,8 +147,6 @@ struct hfs_sb_info {
u16
blockoffset
;
int
fs_div
;
struct
hlist_head
rsrc_inodes
;
};
#define HFS_FLG_BITMAP_DIRTY 0
...
...
fs/hfs/inode.c
View file @
89b0fc38
...
...
@@ -524,7 +524,7 @@ static struct dentry *hfs_file_lookup(struct inode *dir, struct dentry *dentry,
HFS_I
(
inode
)
->
rsrc_inode
=
dir
;
HFS_I
(
dir
)
->
rsrc_inode
=
inode
;
igrab
(
dir
);
hlist_add_
head
(
&
inode
->
i_hash
,
&
HFS_SB
(
dir
->
i_sb
)
->
rsrc_inodes
);
hlist_add_
fake
(
&
inode
->
i_hash
);
mark_inode_dirty
(
inode
);
out:
d_add
(
dentry
,
inode
);
...
...
fs/hfs/super.c
View file @
89b0fc38
...
...
@@ -382,7 +382,6 @@ static int hfs_fill_super(struct super_block *sb, void *data, int silent)
return
-
ENOMEM
;
sb
->
s_fs_info
=
sbi
;
INIT_HLIST_HEAD
(
&
sbi
->
rsrc_inodes
);
res
=
-
EINVAL
;
if
(
!
parse_options
((
char
*
)
data
,
sbi
))
{
...
...
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