summaryrefslogtreecommitdiffstats
path: root/fs/adfs/super.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/super.c
parent5bef915104f32c9d0bb5df6e86a98e31cb524e9a (diff)
downloadlinux-d8e78da8682028ad53d040339a2b9d6fb6092d63.tar.bz2
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/super.c')
-rw-r--r--fs/adfs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/adfs/super.c b/fs/adfs/super.c
index 71fa525d63a0..7e099a7a4eb1 100644
--- a/fs/adfs/super.c
+++ b/fs/adfs/super.c
@@ -291,6 +291,7 @@ static void destroy_inodecache(void)
static const struct super_operations adfs_sops = {
.alloc_inode = adfs_alloc_inode,
.destroy_inode = adfs_destroy_inode,
+ .drop_inode = generic_delete_inode,
.write_inode = adfs_write_inode,
.put_super = adfs_put_super,
.statfs = adfs_statfs,