From cfe953c8240d1b21a81b8bd7f33cfe0b96b89f38 Mon Sep 17 00:00:00 2001 From: Su Yue Date: Tue, 4 Feb 2020 12:51:56 +0800 Subject: [PATCH] btrfs: update the comment of btrfs_control_ioctl() Btrfsctl was removed in 2012, now the function btrfs_control_ioctl() is only used for devices ioctls. So update the comment. Reviewed-by: Nikolay Borisov Signed-off-by: Su Yue Reviewed-by: David Sterba Signed-off-by: David Sterba --- 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 67c63858812a..1cbc3f125d5a 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -2203,7 +2203,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.30.2