summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorAl Viro2010-12-20 16:56:06 +0100
committerAl Viro2011-01-13 02:02:47 +0100
commitaf53d29ac13a97304d44343dc3b26154ca595268 (patch)
tree6ed2ca27a8d9d1d04b3df839273f36c896cf370e /fs/btrfs/super.c
parentswitch ocfs2, close races (diff)
downloadkernel-qcow2-linux-af53d29ac13a97304d44343dc3b26154ca595268.tar.gz
kernel-qcow2-linux-af53d29ac13a97304d44343dc3b26154ca595268.tar.xz
kernel-qcow2-linux-af53d29ac13a97304d44343dc3b26154ca595268.zip
switch btrfs, close races
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 883c6fa1367e..22acdaa78ce1 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -460,6 +460,7 @@ static int btrfs_fill_super(struct super_block *sb,
sb->s_maxbytes = MAX_LFS_FILESIZE;
sb->s_magic = BTRFS_SUPER_MAGIC;
sb->s_op = &btrfs_super_ops;
+ sb->s_d_op = &btrfs_dentry_operations;
sb->s_export_op = &btrfs_export_ops;
sb->s_xattr = btrfs_xattr_handlers;
sb->s_time_gran = 1;