aboutsummaryrefslogtreecommitdiffstats
path: root/fs/adfs/inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-06-30 03:15:49 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2018-08-03 16:03:33 -0400
commitd8e78da8682028ad53d040339a2b9d6fb6092d63 (patch)
tree243ba5490f2821dde753359c833ef9a4929fbc5f /fs/adfs/inode.c
parentnew helper: inode_fake_hash() (diff)
downloadlinux-dev-d8e78da8682028ad53d040339a2b9d6fb6092d63.tar.xz
linux-dev-d8e78da8682028ad53d040339a2b9d6fb6092d63.zip
adfs: don't put inodes into icache
We never look them up in there; inode_fake_hash() will make them appear hashed for mark_inode_dirty() purposes. And don't leave them around until memory pressure kicks them out - we never look them up again. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/adfs/inode.c')
-rw-r--r--fs/adfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/adfs/inode.c b/fs/adfs/inode.c
index c836c425ca94..e91028d4340a 100644
--- a/fs/adfs/inode.c
+++ b/fs/adfs/inode.c
@@ -287,7 +287,7 @@ adfs_iget(struct super_block *sb, struct object_info *obj)
ADFS_I(inode)->mmu_private = inode->i_size;
}
- insert_inode_hash(inode);
+ inode_fake_hash(inode);
out:
return inode;