diff options
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 200f63bc6675..ae488aa1966a 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <linux/magic.h> | 40 | #include <linux/magic.h> |
41 | #include <linux/slab.h> | 41 | #include <linux/slab.h> |
42 | #include <linux/cleancache.h> | 42 | #include <linux/cleancache.h> |
43 | #include <linux/mnt_namespace.h> | ||
44 | #include <linux/ratelimit.h> | 43 | #include <linux/ratelimit.h> |
45 | #include "compat.h" | 44 | #include "compat.h" |
46 | #include "delayed-inode.h" | 45 | #include "delayed-inode.h" |
@@ -662,9 +661,9 @@ int btrfs_sync_fs(struct super_block *sb, int wait) | |||
662 | return ret; | 661 | return ret; |
663 | } | 662 | } |
664 | 663 | ||
665 | static int btrfs_show_options(struct seq_file *seq, struct vfsmount *vfs) | 664 | static int btrfs_show_options(struct seq_file *seq, struct dentry *dentry) |
666 | { | 665 | { |
667 | struct btrfs_root *root = btrfs_sb(vfs->mnt_sb); | 666 | struct btrfs_root *root = btrfs_sb(dentry->d_sb); |
668 | struct btrfs_fs_info *info = root->fs_info; | 667 | struct btrfs_fs_info *info = root->fs_info; |
669 | char *compress_type; | 668 | char *compress_type; |
670 | 669 | ||