btrfs: update the comment of btrfs_control_ioctl()
authorSu Yue <Damenly_Su@gmx.com>
Tue, 4 Feb 2020 04:51:56 +0000 (12:51 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:23 +0000 (17:01 +0100)
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 <nborisov@suse.com>
Signed-off-by: Su Yue <Damenly_Su@gmx.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c

index 67c63858812a9ebc8e3e9448df46968b58c3c3bd..1cbc3f125d5af05f525b1c8d7833377e8a429399 100644 (file)
@@ -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)