Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

Al Viro d8e78da8 5bef9151

+2 -1
+1 -1
fs/adfs/inode.c
··· 287 287 ADFS_I(inode)->mmu_private = inode->i_size; 288 288 } 289 289 290 - insert_inode_hash(inode); 290 + inode_fake_hash(inode); 291 291 292 292 out: 293 293 return inode;
+1
fs/adfs/super.c
··· 291 291 static const struct super_operations adfs_sops = { 292 292 .alloc_inode = adfs_alloc_inode, 293 293 .destroy_inode = adfs_destroy_inode, 294 + .drop_inode = generic_delete_inode, 294 295 .write_inode = adfs_write_inode, 295 296 .put_super = adfs_put_super, 296 297 .statfs = adfs_statfs,