commit | a76d0a9c288ea7f5fc01bf05485573ce6b36b839 | [log] [tgz] |
---|---|---|
author | Xiubo Li <xiubli@redhat.com> | Wed Aug 25 21:45:45 2021 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Sep 02 22:49:17 2021 +0200 |
tree | 6ea3582b1c6ad1f0e50bb51e91a90c0109f2a1fb | |
parent | 42ad631b4d0e0d6da0bfe375af99887251fbf970 [diff] |
ceph: don't WARN if we're forcibly removing the session caps For example in the case of a forced umount, we'll remove all the session caps even if they are dirty. Move the warning to a wrapper function and make most of the callers use it. Call the core function when removing caps due to a forced umount. Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>