libceph: allow ceph_buffer_put() to receive a NULL ceph_buffer
authorLuis Henriques <lhenriques@suse.com>
Fri, 19 Jul 2019 14:32:19 +0000 (15:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Sep 2019 09:32:19 +0000 (10:32 +0100)
commit2aeaba9025b5a31afd206ccc03e201897b68a70c
tree73dba5e599b76afaf9599359523e0d973b26ed5c
parent9fb47e7dea94f880cff79c8602fe96aef2286ac6
libceph: allow ceph_buffer_put() to receive a NULL ceph_buffer

[ Upstream commit 5c498950f730aa17c5f8a2cdcb903524e4002ed2 ]

Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/ceph/buffer.h