|
@@ -1653,7 +1653,9 @@ const struct address_space_operations ubifs_file_address_operations = {
|
|
|
const struct inode_operations ubifs_file_inode_operations = {
|
|
|
.setattr = ubifs_setattr,
|
|
|
.getattr = ubifs_getattr,
|
|
|
+#ifdef CONFIG_UBIFS_FS_XATTR
|
|
|
.listxattr = ubifs_listxattr,
|
|
|
+#endif
|
|
|
#ifdef CONFIG_UBIFS_ATIME_SUPPORT
|
|
|
.update_time = ubifs_update_time,
|
|
|
#endif
|
|
@@ -1663,7 +1665,9 @@ const struct inode_operations ubifs_symlink_inode_operations = {
|
|
|
.get_link = ubifs_get_link,
|
|
|
.setattr = ubifs_setattr,
|
|
|
.getattr = ubifs_getattr,
|
|
|
+#ifdef CONFIG_UBIFS_FS_XATTR
|
|
|
.listxattr = ubifs_listxattr,
|
|
|
+#endif
|
|
|
#ifdef CONFIG_UBIFS_ATIME_SUPPORT
|
|
|
.update_time = ubifs_update_time,
|
|
|
#endif
|