projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b933de
)
jfs: don't hash direct inode
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 3 Sep 2014 03:53:04 +0000
(23:53 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:39:13 +0000
(
02:39
-0400)
hlist_add_fake(inode->i_hash), same as for the rest of special ones...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/jfs/super.c
patch
|
blob
|
history
diff --git
a/fs/jfs/super.c
b/fs/jfs/super.c
index
adf8cb0
..
93e897e
100644
(file)
--- a/
fs/jfs/super.c
+++ b/
fs/jfs/super.c
@@
-550,7
+550,7
@@
static int jfs_fill_super(struct super_block *sb, void *data, int silent)
inode->i_ino = 0;
inode->i_size = sb->s_bdev->bd_inode->i_size;
inode->i_mapping->a_ops = &jfs_metapage_aops;
-
insert_inode_hash(inode
);
+
hlist_add_fake(&inode->i_hash
);
mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS);
sbi->direct_inode = inode;