diff options
author | Jeff Layton <jlayton@kernel.org> | 2021-02-25 15:04:15 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-03-08 10:19:36 -0500 |
commit | 3e10a15ffc8d77f05e655d14fd48c0b790dede35 (patch) | |
tree | a17d57ad4dea11482c47292192fa89c548dcf2fd /LICENSES | |
parent | 6e3e2c4362e41a2f18e3f7a5ad81bd2f49a47b85 (diff) | |
download | linux-3e10a15ffc8d77f05e655d14fd48c0b790dede35.tar.bz2 |
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 'LICENSES')
0 files changed, 0 insertions, 0 deletions