netfs: Make netfs_put_request() handle a NULL pointer
authorDavid Howells <dhowells@redhat.com>
Fri, 29 Sep 2023 13:35:17 +0000 (14:35 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 28 Dec 2023 09:45:20 +0000 (09:45 +0000)
commit6ba22d8d1521f35ca1343e64f69d7857f0340e5e
treec10a5b0a157ee6f183e71d0810f7c9ac21ddf704
parentc6dc54dd91bbf597942b4975b8adec660a16827d
netfs: Make netfs_put_request() handle a NULL pointer

Make netfs_put_request() just return if given a NULL request pointer.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
fs/netfs/objects.c