aboutsummaryrefslogtreecommitdiffstats
path: root/fs/squashfs/super.c
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@lougher.demon.co.uk>2010-05-17 14:39:02 -0400
committerPhillip Lougher <phillip@lougher.demon.co.uk>2010-05-17 14:54:07 -0400
commit01e5b4e4e897fce8c7e6236bc933c9721c7ee237 (patch)
tree2bdd0afded0c862929f6826fe254542894697c0c /fs/squashfs/super.c
parent67f66cc6c728de183d9d43c243cb163c1ebd8e04 (diff)
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 @@
43#include "squashfs_fs_i.h" 43#include "squashfs_fs_i.h"
44#include "squashfs.h" 44#include "squashfs.h"
45#include "decompressor.h" 45#include "decompressor.h"
46#include "xattr.h"
46 47
47static struct file_system_type squashfs_fs_type; 48static struct file_system_type squashfs_fs_type;
48static const struct super_operations squashfs_super_ops; 49static const struct super_operations squashfs_super_ops;
@@ -272,7 +273,8 @@ allocate_xattr_table:
272 if (IS_ERR(msblk->xattr_id_table)) { 273 if (IS_ERR(msblk->xattr_id_table)) {
273 err = PTR_ERR(msblk->xattr_id_table); 274 err = PTR_ERR(msblk->xattr_id_table);
274 msblk->xattr_id_table = NULL; 275 msblk->xattr_id_table = NULL;
275 goto failed_mount; 276 if (err != -ENOTSUPP)
277 goto failed_mount;
276 } 278 }
277allocate_root: 279allocate_root:
278 root = new_inode(sb); 280 root = new_inode(sb);