xattr support for btrfs
[pandora-kernel.git] / fs / btrfs / super.c
index f94aa1f..c46bc39 100644 (file)
@@ -40,6 +40,7 @@
 #include "btrfs_inode.h"
 #include "ioctl.h"
 #include "print-tree.h"
+#include "xattr.h"
 
 #define BTRFS_SUPER_MAGIC 0x9123683E
 
@@ -106,6 +107,7 @@ static int btrfs_fill_super(struct super_block * sb, void * data, int silent)
        sb->s_maxbytes = MAX_LFS_FILESIZE;
        sb->s_magic = BTRFS_SUPER_MAGIC;
        sb->s_op = &btrfs_super_ops;
+       sb->s_xattr = btrfs_xattr_handlers;
        sb->s_time_gran = 1;
 
        tree_root = open_ctree(sb);