kernel/fs/ext2/symlink.c
.. .. @@ -23,16 +23,14 @@ 23 23 24 24 const struct inode_operations ext2_symlink_inode_operations = { 25 25 .get_link = page_get_link, 26 + .getattr = ext2_getattr,26 27 .setattr = ext2_setattr, 27 -#ifdef CONFIG_EXT2_FS_XATTR28 28 .listxattr = ext2_listxattr, 29 -#endif30 29 }; 31 30 32 31 const struct inode_operations ext2_fast_symlink_inode_operations = { 33 32 .get_link = simple_get_link, 33 + .getattr = ext2_getattr,34 34 .setattr = ext2_setattr, 35 -#ifdef CONFIG_EXT2_FS_XATTR36 35 .listxattr = ext2_listxattr, 37 -#endif38 36 };