summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2021-02-25 23:04:15 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2021-03-08 18:19:36 +0300
commit3e10a15ffc8d77f05e655d14fd48c0b790dede35 (patch)
treea17d57ad4dea11482c47292192fa89c548dcf2fd /tools/perf/scripts/python/syscall-counts.py
parent6e3e2c4362e41a2f18e3f7a5ad81bd2f49a47b85 (diff)
downloadlinux-3e10a15ffc8d77f05e655d14fd48c0b790dede35.tar.xz
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions