>From 8ab032967f60449052c20adc6180c8f295cb37d5 Mon Sep 17 00:00:00 2001
From: Matthew Fatheree <matthew.fathe...@belkin.com>
Date: Sat, 19 Apr 2014 00:24:54 +0700
Subject: [PATCH 09/30] CONFIG_UBIFS_FS_XATTR is no longer defined in 3.10

In kernel 3.10, CONFIG_UBIFS_FS_XATTR is no longer defined, we should
remove the "ifdef" to enable ubifs xattr

Signed-off-by: Matthew Fatheree <matthew.fathe...@belkin.com>
---
 .../550-ubifs-symlink-xattr-support.patch          |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/target/linux/generic/patches-3.10/550-ubifs-symlink-xattr-support.patch 
b/target/linux/generic/patches-3.10/550-ubifs-symlink-xattr-support.patch
index b4de071..0235340 100644
--- a/target/linux/generic/patches-3.10/550-ubifs-symlink-xattr-support.patch
+++ b/target/linux/generic/patches-3.10/550-ubifs-symlink-xattr-support.patch
@@ -1,15 +1,13 @@
 --- a/fs/ubifs/file.c
 +++ b/fs/ubifs/file.c
-@@ -1576,6 +1576,12 @@ const struct inode_operations ubifs_syml
+@@ -1576,6 +1576,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.7.9.5



__________________________________________________________________ Confidential 
This e-mail and any files transmitted with it are the property of Belkin 
International, Inc. and/or its affiliates, are confidential, and are intended 
solely for the use of the individual or entity to whom this e-mail is 
addressed. If you are not one of the named recipients or otherwise have reason 
to believe that you have received this e-mail in error, please notify the 
sender and delete this message immediately from your computer. Any other use, 
retention, dissemination, forwarding, printing or copying of this e-mail is 
strictly prohibited. Pour la version française: 
http://www.belkin.com/email-notice/French.html Für die deutsche Übersetzung: 
http://www.belkin.com/email-notice/German.html 
__________________________________________________________________
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to