* [PATCH] btrfs: drop unused arg in mount_subvol
@ 2019-03-29 6:03 Anand Jain
2019-04-01 14:31 ` David Sterba
0 siblings, 1 reply; 2+ messages in thread
From: Anand Jain @ 2019-03-29 6:03 UTC (permalink / raw)
To: linux-btrfs
@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 <anand.jain@oracle.com>
---
fs/btrfs/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 5aa1a4d14cd7..6e34a4494af4 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -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;
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] btrfs: drop unused arg in mount_subvol
2019-03-29 6:03 [PATCH] btrfs: drop unused arg in mount_subvol Anand Jain
@ 2019-04-01 14:31 ` David Sterba
0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2019-04-01 14:31 UTC (permalink / raw)
To: Anand Jain; +Cc: linux-btrfs
On Fri, Mar 29, 2019 at 02:03:17PM +0800, Anand Jain wrote:
> @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 <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-01 14:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-29 6:03 [PATCH] btrfs: drop unused arg in mount_subvol Anand Jain
2019-04-01 14:31 ` David Sterba
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.