summaryrefslogtreecommitdiff
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2019-03-29 14:03:17 +0800
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:35 +0200
commitae0bc863106ae45b189986c76fda44f6885e8769 (patch)
treeccc1e24ebebfc1e19bad44381fd759bf4d32b7b1 /fs/btrfs/super.c
parent39e57f495bf94c4d36a8048aea37b1cd2ab730bc (diff)
downloadlinux-rpi-ae0bc863106ae45b189986c76fda44f6885e8769.tar.gz
linux-rpi-ae0bc863106ae45b189986c76fda44f6885e8769.tar.bz2
linux-rpi-ae0bc863106ae45b189986c76fda44f6885e8769.zip
btrfs: drop unused parameter in mount_subvol
@device_name in mount_subvol() is not used, drop it. Also see: 5bedc48a8f9e ("btrfs: drop unused parameters from mount_subvol"). Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 120e4340792a..2c66d9ea6a3b 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1400,7 +1400,7 @@ static inline int is_subvolume_inode(struct inode *inode)
}
static struct dentry *mount_subvol(const char *subvol_name, u64 subvol_objectid,
- const char *device_name, struct vfsmount *mnt)
+ struct vfsmount *mnt)
{
struct dentry *root;
int ret;
@@ -1649,7 +1649,7 @@ static struct dentry *btrfs_mount(struct file_system_type *fs_type, int flags,
}
/* mount_subvol() will free subvol_name and mnt_root */
- root = mount_subvol(subvol_name, subvol_objectid, device_name, mnt_root);
+ root = mount_subvol(subvol_name, subvol_objectid, mnt_root);
out:
return root;