550-ubifs-symlink-xattr-support.patch contains a reference to the
by now obsolete config symbol CONFIG_UBIFS_FS_XATTR which leads to
the functionality originally added by the patch being left-out during
compile on recent kernels.
Fix this by removing the #ifdef.

Signed-off-by: Daniel Golle <[email protected]>
---
 .../linux/generic/patches-3.14/550-ubifs-symlink-xattr-support.patch  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/target/linux/generic/patches-3.14/550-ubifs-symlink-xattr-support.patch 
b/target/linux/generic/patches-3.14/550-ubifs-symlink-xattr-support.patch
index f08ec02..9ca8ac1 100644
--- a/target/linux/generic/patches-3.14/550-ubifs-symlink-xattr-support.patch
+++ b/target/linux/generic/patches-3.14/550-ubifs-symlink-xattr-support.patch
@@ -1,15 +1,13 @@
 --- a/fs/ubifs/file.c
 +++ b/fs/ubifs/file.c
-@@ -1577,6 +1577,12 @@ const struct inode_operations ubifs_syml
+@@ -1577,6 +1577,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 = {
-- 
1.9.2

Attachment: pgphc4OYCPDjb.pgp
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to