]> git.baikalelectronics.ru Git - 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)
commit7199956cd7e16dd44c2185f993685c52530cc733
tree0dc8e58d692e8583e5a3597f1610a652cbcd41bf
parentd03064e1958557e3a37dbfd6b14b9fc0c680c0f4
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