commit | 9a6bed4fe0c8bf57785cbc4db9f86086cb9b193d | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@kernel.org> | Thu Dec 05 08:41:25 2019 -0500 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Jan 27 16:53:39 2020 +0100 |
tree | ffef568fe314a8fc6f67462f2500c421c9ecbb83 | |
parent | 57c219948245cb1e8970040a365058baab450316 [diff] |
ceph: ensure we have a new cap before continuing in fill_inode If the caller passes in a NULL cap_reservation, and we can't allocate one then ensure that we fail gracefully. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>