diff options
author | 2014-01-16 15:50:22 +0100 | |
---|---|---|
committer | 2014-01-28 13:20:41 -0800 | |
commit | bd60ea0fe947029df4b7b7aa9d6557baf2a5a138 (patch) | |
tree | 572b5d652fb6a4c2977bfbc1cc26dac8e3f79d89 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: restrict snapshotting to own subvolumes (diff) | |
download | linux-dev-bd60ea0fe947029df4b7b7aa9d6557baf2a5a138.tar.xz linux-dev-bd60ea0fe947029df4b7b7aa9d6557baf2a5a138.zip |
btrfs: call permission checks earlier in ioctls and return EPERM
The owner and capability checks in IOC_SUBVOL_SETFLAGS and
SET_RECEIVED_SUBVOL should be called before any other checks are done.
Also unify the error code to EPERM.
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions