summaryrefslogtreecommitdiffstats
path: root/include/linux/netfs.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2023-10-04 16:15:48 +0100
committerDavid Howells <dhowells@redhat.com>2023-12-28 09:45:20 +0000
commit4fcccc38ebbdcff74494701c50a8e2fe4689837e (patch)
tree15e593b4e75bff66f53c63af285eb102e1a8d0b1 /include/linux/netfs.h
parent6ba22d8d1521f35ca1343e64f69d7857f0340e5e (diff)
downloadlinux-4fcccc38ebbdcff74494701c50a8e2fe4689837e.tar.gz
linux-4fcccc38ebbdcff74494701c50a8e2fe4689837e.tar.bz2
linux-4fcccc38ebbdcff74494701c50a8e2fe4689837e.zip
netfs: Make the refcounting of netfs_begin_read() easier to use
Make the refcounting of netfs_begin_read() easier to use by not eating the caller's ref on the netfs_io_request it's given. This makes it easier to use when we need to look in the request struct after. 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
Diffstat (limited to 'include/linux/netfs.h')
0 files changed, 0 insertions, 0 deletions