File tree Expand file tree Collapse file tree 4 files changed +1
-10
lines changed Expand file tree Collapse file tree 4 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -196,9 +196,7 @@ const struct file_operations ext2_file_operations = {
196
196
};
197
197
198
198
const struct inode_operations ext2_file_inode_operations = {
199
- #ifdef CONFIG_EXT2_FS_XATTR
200
199
.listxattr = ext2_listxattr ,
201
- #endif
202
200
.getattr = ext2_getattr ,
203
201
.setattr = ext2_setattr ,
204
202
.get_acl = ext2_get_acl ,
Original file line number Diff line number Diff line change @@ -411,9 +411,7 @@ const struct inode_operations ext2_dir_inode_operations = {
411
411
.rmdir = ext2_rmdir ,
412
412
.mknod = ext2_mknod ,
413
413
.rename = ext2_rename ,
414
- #ifdef CONFIG_EXT2_FS_XATTR
415
414
.listxattr = ext2_listxattr ,
416
- #endif
417
415
.getattr = ext2_getattr ,
418
416
.setattr = ext2_setattr ,
419
417
.get_acl = ext2_get_acl ,
@@ -422,9 +420,7 @@ const struct inode_operations ext2_dir_inode_operations = {
422
420
};
423
421
424
422
const struct inode_operations ext2_special_inode_operations = {
425
- #ifdef CONFIG_EXT2_FS_XATTR
426
423
.listxattr = ext2_listxattr ,
427
- #endif
428
424
.getattr = ext2_getattr ,
429
425
.setattr = ext2_setattr ,
430
426
.get_acl = ext2_get_acl ,
Original file line number Diff line number Diff line change @@ -25,16 +25,12 @@ const struct inode_operations ext2_symlink_inode_operations = {
25
25
.get_link = page_get_link ,
26
26
.getattr = ext2_getattr ,
27
27
.setattr = ext2_setattr ,
28
- #ifdef CONFIG_EXT2_FS_XATTR
29
28
.listxattr = ext2_listxattr ,
30
- #endif
31
29
};
32
30
33
31
const struct inode_operations ext2_fast_symlink_inode_operations = {
34
32
.get_link = simple_get_link ,
35
33
.getattr = ext2_getattr ,
36
34
.setattr = ext2_setattr ,
37
- #ifdef CONFIG_EXT2_FS_XATTR
38
35
.listxattr = ext2_listxattr ,
39
- #endif
40
36
};
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ static inline void ext2_xattr_destroy_cache(struct mb_cache *cache)
100
100
}
101
101
102
102
#define ext2_xattr_handlers NULL
103
+ #define ext2_listxattr NULL
103
104
104
105
# endif /* CONFIG_EXT2_FS_XATTR */
105
106
You can’t perform that action at this time.
0 commit comments