diff options
author | Omar Sandoval <osandov@fb.com> | 2018-11-13 23:47:02 -0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-11-26 16:45:30 +0100 |
commit | bfe2dc379662bd2aba40db9fe9185a57dae0c4a9 (patch) | |
tree | 1e59cac3e50c9f14d503713bc84317091772e040 /repair.c | |
parent | 39ac43a2a47cf99cb4914696b51f8d9e28abd0d9 (diff) |
libbtrfsutil: relax the privileges of subvolume_info()
Attempt to use the BTRFS_IOC_GET_SUBVOL_INFO ioctl (added in kernel
4.18) for subvolume_info() if not root. Also, rename
get_subvolume_info_root() -> get_subvolume_info_privileged() for
consistency with further changes.
This is based on a patch from Misono Tomohiro.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'repair.c')
0 files changed, 0 insertions, 0 deletions