]> 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)
commit6043083a0f6704058a15696b545c0a3696634d86
tree0dc8e58d692e8583e5a3597f1610a652cbcd41bf
parentca5ce6888652f84fbd56b46a5a89f98bf435bb4f
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