* [PATCH] btrfs: update the comment of btrfs_control_ioctl()
@ 2020-02-04 4:51 damenly.su
2020-02-04 5:41 ` Nikolay Borisov
2020-02-04 14:27 ` David Sterba
0 siblings, 2 replies; 3+ messages in thread
From: damenly.su @ 2020-02-04 4:51 UTC (permalink / raw)
To: linux-btrfs; +Cc: Su Yue
From: Su Yue <Damenly_Su@gmx.com>
Btrfsctl was removed in 2012, now the function btrfs_control_ioctl()
is only used for devices ioctls. So update the comment.
Signed-off-by: Su Yue <Damenly_Su@gmx.com>
---
fs/btrfs/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 78de9d5d80c6..2341e7af4cb0 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -2168,7 +2168,7 @@ static int btrfs_control_open(struct inode *inode, struct file *file)
}
/*
- * used by btrfsctl to scan devices when no FS is mounted
+ * Used by /dev/btrfs-control for devices ioctls.
*/
static long btrfs_control_ioctl(struct file *file, unsigned int cmd,
unsigned long arg)
--
2.25.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] btrfs: update the comment of btrfs_control_ioctl()
2020-02-04 4:51 [PATCH] btrfs: update the comment of btrfs_control_ioctl() damenly.su
@ 2020-02-04 5:41 ` Nikolay Borisov
2020-02-04 14:27 ` David Sterba
1 sibling, 0 replies; 3+ messages in thread
From: Nikolay Borisov @ 2020-02-04 5:41 UTC (permalink / raw)
To: damenly.su, linux-btrfs; +Cc: Su Yue
On 4.02.20 г. 6:51 ч., damenly.su@gmail.com wrote:
> From: Su Yue <Damenly_Su@gmx.com>
>
> Btrfsctl was removed in 2012, now the function btrfs_control_ioctl()
> is only used for devices ioctls. So update the comment.
>
> Signed-off-by: Su Yue <Damenly_Su@gmx.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] btrfs: update the comment of btrfs_control_ioctl()
2020-02-04 4:51 [PATCH] btrfs: update the comment of btrfs_control_ioctl() damenly.su
2020-02-04 5:41 ` Nikolay Borisov
@ 2020-02-04 14:27 ` David Sterba
1 sibling, 0 replies; 3+ messages in thread
From: David Sterba @ 2020-02-04 14:27 UTC (permalink / raw)
To: damenly.su; +Cc: linux-btrfs, Su Yue
On Tue, Feb 04, 2020 at 12:51:56PM +0800, damenly.su@gmail.com wrote:
> From: Su Yue <Damenly_Su@gmx.com>
>
> Btrfsctl was removed in 2012, now the function btrfs_control_ioctl()
> is only used for devices ioctls. So update the comment.
>
> Signed-off-by: Su Yue <Damenly_Su@gmx.com>
Added to misc-next, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-04 14:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-04 4:51 [PATCH] btrfs: update the comment of btrfs_control_ioctl() damenly.su
2020-02-04 5:41 ` Nikolay Borisov
2020-02-04 14:27 ` David Sterba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox