aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.6/550-ubifs-symlink-xattr-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-3.6/550-ubifs-symlink-xattr-support.patch')
-rw-r--r--target/linux/generic/patches-3.6/550-ubifs-symlink-xattr-support.patch4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/generic/patches-3.6/550-ubifs-symlink-xattr-support.patch b/target/linux/generic/patches-3.6/550-ubifs-symlink-xattr-support.patch
index 3d49363186..d5766b5e50 100644
--- a/target/linux/generic/patches-3.6/550-ubifs-symlink-xattr-support.patch
+++ b/target/linux/generic/patches-3.6/550-ubifs-symlink-xattr-support.patch
@@ -1,15 +1,13 @@
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
-@@ -1573,6 +1573,12 @@ const struct inode_operations ubifs_syml
+@@ -1573,6 +1573,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 = {