Skip to content

Commit

Permalink
btrfs: drop unused parameter in mount_subvol
Browse files Browse the repository at this point in the history
@device_name in mount_subvol() is not used, drop it.  Also see:
5bedc48 ("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>
  • Loading branch information
Anand Jain authored and David Sterba committed Apr 29, 2019
1 parent 39e57f4 commit ae0bc86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/btrfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ae0bc86

Please sign in to comment.