btrfs: drop unused arg in mount_subvol
PATCH 1/1 btrfs: drop unused arg in mount_subvol
@device_name in mount_subvol() is not used, drop it. Also see:5bedc48a8f9e1d62fb693c4171ffddb990d034f6
btrfs: drop unused parameters from mount_subvol
Signed-off-by Anand Jain <[email protected]>
--- fs/btrfs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/btrfs/super.c +2 -2
@@ -1429,7 +1429,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;
@@ -1678,7 +1678,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;
Signature · 1 line
1.8.3.1
Quoted 6 lines · Anand Jain
@device_name in
mount_subvol()is not used, drop it. Also see:5bedc48a8f9e1d62fb693c4171ffddb990d034f6
btrfs: drop unused parameters frommount_subvolSigned-off-by Anand Jain <[email protected]>
Reviewed-by David Sterba <[email protected]>