diff options
author | David Howells <dhowells@redhat.com> | 2024-09-30 14:59:16 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-09-30 15:11:05 +0300 |
commit | f801850bc263d7fa0a4e6d9a36cddf4966c79c14 (patch) | |
tree | efcb1f2140322903c805373acc754767d9759662 /rust/helpers/task.c | |
parent | 28e8c5c095ec28edeedab5e976e62e0419a89fc1 (diff) | |
download | linux-f801850bc263d7fa0a4e6d9a36cddf4966c79c14.tar.xz |
netfs: Fix the netfs_folio tracepoint to handle NULL mapping
Fix the netfs_folio tracepoint to handle folios that have a NULL mapping
pointer. In such a case, just substitute a zero inode number.
Fixes: c38f4e96e605 ("netfs: Provide func to copy data to pagecache for buffered write")
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/2917423.1727697556@warthog.procyon.org.uk
cc: Jeff Layton <jlayton@kernel.org>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions