aboutsummaryrefslogtreecommitdiffstats
path: root/fs/squashfs/super.c
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@lougher.demon.co.uk>2010-05-17 19:39:02 +0100
committerPhillip Lougher <phillip@lougher.demon.co.uk>2010-05-17 19:54:07 +0100
commit01e5b4e4e897fce8c7e6236bc933c9721c7ee237 (patch)
tree2bdd0afded0c862929f6826fe254542894697c0c /fs/squashfs/super.c
parentsquashfs: add new extended inode types (diff)
downloadlinux-dev-01e5b4e4e897fce8c7e6236bc933c9721c7ee237.tar.xz
linux-dev-01e5b4e4e897fce8c7e6236bc933c9721c7ee237.zip
squashfs: add xattr support configure option
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Diffstat (limited to 'fs/squashfs/super.c')
-rw-r--r--fs/squashfs/super.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/squashfs/super.c b/fs/squashfs/super.c
index b6425ac1c2ae..88b4f8606652 100644
--- a/fs/squashfs/super.c
+++ b/fs/squashfs/super.c
@@ -43,6 +43,7 @@
#include "squashfs_fs_i.h"
#include "squashfs.h"
#include "decompressor.h"
+#include "xattr.h"
static struct file_system_type squashfs_fs_type;
static const struct super_operations squashfs_super_ops;
@@ -272,7 +273,8 @@ allocate_xattr_table:
if (IS_ERR(msblk->xattr_id_table)) {
err = PTR_ERR(msblk->xattr_id_table);
msblk->xattr_id_table = NULL;
- goto failed_mount;
+ if (err != -ENOTSUPP)
+ goto failed_mount;
}
allocate_root:
root = new_inode(sb);