aboutsummaryrefslogtreecommitdiff
path: root/net/ceph/osd_client.c
diff options
context:
space:
mode:
authorGravatar Jeff Layton <jlayton@kernel.org> 2019-08-15 06:23:38 -0400
committerGravatar Ilya Dryomov <idryomov@gmail.com> 2019-08-22 10:47:41 +0200
commit28a282616f56990547b9dcd5c6fbd2001344664c (patch)
treea2e75a574bf4690086e37be5cb5871902937ba07 /net/ceph/osd_client.c
parentceph: clear page dirty before invalidate page (diff)
downloadlinux-28a282616f56990547b9dcd5c6fbd2001344664c.tar.gz
linux-28a282616f56990547b9dcd5c6fbd2001344664c.tar.bz2
linux-28a282616f56990547b9dcd5c6fbd2001344664c.zip
ceph: don't try fill file_lock on unsuccessful GETFILELOCK reply
When ceph_mdsc_do_request returns an error, we can't assume that the filelock_reply pointer will be set. Only try to fetch fields out of the r_reply_info when it returns success. Cc: stable@vger.kernel.org Reported-by: Hector Martin <hector@marcansoft.com> Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph/osd_client.c')
0 files changed, 0 insertions, 0 deletions