diff options
author | 2021-02-25 15:04:15 -0500 | |
---|---|---|
committer | 2021-03-08 10:19:36 -0500 | |
commit | 3e10a15ffc8d77f05e655d14fd48c0b790dede35 (patch) | |
tree | a17d57ad4dea11482c47292192fa89c548dcf2fd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | new helper: inode_wrong_type() (diff) | |
download | wireguard-linux-3e10a15ffc8d77f05e655d14fd48c0b790dede35.tar.xz wireguard-linux-3e10a15ffc8d77f05e655d14fd48c0b790dede35.zip |
ceph: fix up error handling with snapdirs
There are several warts in the snapdir error handling. The -EOPNOTSUPP
return in __snapfh_to_dentry is currently lost, and the call to
ceph_handle_snapdir is not currently checked at all.
Fix all of this up and eliminate a BUG_ON in ceph_get_snapdir. We can
handle that case with a warning and return an error.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions