diff options
author | David Howells <dhowells@redhat.com> | 2023-10-04 16:15:48 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2023-12-28 09:45:20 +0000 |
commit | 4fcccc38ebbdcff74494701c50a8e2fe4689837e (patch) | |
tree | 15e593b4e75bff66f53c63af285eb102e1a8d0b1 /include/linux/netfs.h | |
parent | 6ba22d8d1521f35ca1343e64f69d7857f0340e5e (diff) |
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