]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
btrfs: make DEV_INFO ioctl available to anyone
authorDavid Sterba <dsterba@suse.cz>
Thu, 24 Apr 2014 13:09:10 +0000 (15:09 +0200)
committerChris Mason <clm@fb.com>
Tue, 10 Jun 2014 00:20:28 +0000 (17:20 -0700)
commit7d6213c5a764d0591afeb9faa3f7ee18e8e74c25
tree0dc8e58d692e8583e5a3597f1610a652cbcd41bf
parentdf93589a17378277c0ac394858dd8a2a41e5fb5a
btrfs: make DEV_INFO ioctl available to anyone

This ioctl provides basic info about the devices that can be obtained in
other ways (eg. sysfs), there's no reason to restrict it to
CAP_SYSADMIN.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ioctl.c