netfs: Add a ->free_subrequest() op
authorDavid Howells <dhowells@redhat.com>
Fri, 25 Feb 2022 11:19:14 +0000 (11:19 +0000)
committerDavid Howells <dhowells@redhat.com>
Sun, 24 Dec 2023 15:08:50 +0000 (15:08 +0000)
commit5f5ce7ba15e7e6a6539ac8e1f845757aaebecf0d
tree756df4a62710948cc09d95183dc6f58f770a7432
parentcc3cb0a18da46a51d9fc173155576ba1d068e536
netfs: Add a ->free_subrequest() op

Add a ->free_subrequest() op so that the netfs can clean up data attached
to a subrequest.

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
include/linux/netfs.h