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

efs: switch to ->free_inode()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro f415c511 6234ddf4

+2 -8
+2 -8
fs/efs/super.c
··· 74 74 return &ei->vfs_inode; 75 75 } 76 76 77 - static void efs_i_callback(struct rcu_head *head) 77 + static void efs_free_inode(struct inode *inode) 78 78 { 79 - struct inode *inode = container_of(head, struct inode, i_rcu); 80 79 kmem_cache_free(efs_inode_cachep, INODE_INFO(inode)); 81 - } 82 - 83 - static void efs_destroy_inode(struct inode *inode) 84 - { 85 - call_rcu(&inode->i_rcu, efs_i_callback); 86 80 } 87 81 88 82 static void init_once(void *foo) ··· 116 122 117 123 static const struct super_operations efs_superblock_operations = { 118 124 .alloc_inode = efs_alloc_inode, 119 - .destroy_inode = efs_destroy_inode, 125 + .free_inode = efs_free_inode, 120 126 .statfs = efs_statfs, 121 127 .remount_fs = efs_remount, 122 128 };