aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@redhat.com>2007-11-16 11:45:54 -0500
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:57 -0400
commit5103e947b9b7ac18ddb21a04ee3486e94c6504d7 (patch)
tree5d7c0c9ce1d57b988165f87c7bae304cb339589c /fs/btrfs/super.c
parent0591fb56fb732c7bf500d1446d0bf927046d7002 (diff)
xattr support for btrfs
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index f94aa1f97a0a..c46bc3911798 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -40,6 +40,7 @@
40#include "btrfs_inode.h" 40#include "btrfs_inode.h"
41#include "ioctl.h" 41#include "ioctl.h"
42#include "print-tree.h" 42#include "print-tree.h"
43#include "xattr.h"
43 44
44#define BTRFS_SUPER_MAGIC 0x9123683E 45#define BTRFS_SUPER_MAGIC 0x9123683E
45 46
@@ -106,6 +107,7 @@ static int btrfs_fill_super(struct super_block * sb, void * data, int silent)
106 sb->s_maxbytes = MAX_LFS_FILESIZE; 107 sb->s_maxbytes = MAX_LFS_FILESIZE;
107 sb->s_magic = BTRFS_SUPER_MAGIC; 108 sb->s_magic = BTRFS_SUPER_MAGIC;
108 sb->s_op = &btrfs_super_ops; 109 sb->s_op = &btrfs_super_ops;
110 sb->s_xattr = btrfs_xattr_handlers;
109 sb->s_time_gran = 1; 111 sb->s_time_gran = 1;
110 112
111 tree_root = open_ctree(sb); 113 tree_root = open_ctree(sb);