commit | 4d9cf934d67f32712e444587022aef17bba85276 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@kernel.org> | Thu Dec 05 08:41:25 2019 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 01 13:14:31 2020 +0200 |
tree | 95ef019a666dd3609c4b39eeb9adb09235b96254 | |
parent | a567bac12f116deb32f1a5b78346872ce1256e3d [diff] |
ceph: ensure we have a new cap before continuing in fill_inode [ Upstream commit 9a6bed4fe0c8bf57785cbc4db9f86086cb9b193d ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>