hc
2023-12-09 958e46acc8e900e8569dd467c1af9b8d2d019394
kernel/fs/ext2/file.c
....@@ -79,7 +79,7 @@
7979 /*
8080 * The lock ordering for ext2 DAX fault paths is:
8181 *
82
- * mmap_sem (MM)
82
+ * mmap_lock (MM)
8383 * sb_start_pagefault (vfs, freeze)
8484 * ext2_inode_info->dax_sem
8585 * address_space->i_mmap_rwsem or page_lock (mutually exclusive in DAX)
....@@ -198,9 +198,8 @@
198198 };
199199
200200 const struct inode_operations ext2_file_inode_operations = {
201
-#ifdef CONFIG_EXT2_FS_XATTR
202201 .listxattr = ext2_listxattr,
203
-#endif
202
+ .getattr = ext2_getattr,
204203 .setattr = ext2_setattr,
205204 .get_acl = ext2_get_acl,
206205 .set_acl = ext2_set_acl,