ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol
[openwrt/openwrt.git] / target / linux / generic / patches-3.9 / 550-ubifs-symlink-xattr-support.patch
index b0d818e8df5dd788e4217116c8e5ffeab40cb5da..8b86cf8641c0afb4dbc6fbd2288196eb50b0963a 100644 (file)
@@ -1,15 +1,13 @@
 --- a/fs/ubifs/file.c
 +++ b/fs/ubifs/file.c
-@@ -1575,6 +1575,12 @@ const struct inode_operations ubifs_syml
+@@ -1575,6 +1575,10 @@ const struct inode_operations ubifs_syml
        .follow_link = ubifs_follow_link,
        .setattr     = ubifs_setattr,
        .getattr     = ubifs_getattr,
-+#ifdef CONFIG_UBIFS_FS_XATTR
 +      .setxattr    = ubifs_setxattr,
 +      .getxattr    = ubifs_getxattr,
 +      .listxattr   = ubifs_listxattr,
 +      .removexattr = ubifs_removexattr,
-+#endif
  };
  
  const struct file_operations ubifs_file_operations = {