Skip to content

Commit

Permalink
btrfs: update the comment of btrfs_control_ioctl()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Su Yue authored and David Sterba committed Mar 23, 2020
1 parent 0c89138 commit cfe953c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/btrfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cfe953c

Please sign in to comment.