btrfs: make FS_INFO ioctl available to anyone
authorDavid Sterba <dsterba@suse.cz>
Thu, 24 Apr 2014 13:09:18 +0000 (15:09 +0200)
committerChris Mason <clm@fb.com>
Tue, 10 Jun 2014 00:20:29 +0000 (17:20 -0700)
commite4ef90ff6198ac58d4c7dbbeae8cc7b24867d1ca
tree3b27dfba23c507846fdd0103cf078538dcb85e61
parent7d6213c5a764d0591afeb9faa3f7ee18e8e74c25
btrfs: make FS_INFO ioctl available to anyone

This ioctl provides basic info about the filesystem 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