diff options
author | 2024-09-30 12:59:16 +0100 | |
---|---|---|
committer | 2024-09-30 14:11:05 +0200 | |
commit | f801850bc263d7fa0a4e6d9a36cddf4966c79c14 (patch) | |
tree | efcb1f2140322903c805373acc754767d9759662 /rust/helpers/build_bug.c | |
parent | netfs: Add folio_queue API documentation (diff) | |
download | wireguard-linux-f801850bc263d7fa0a4e6d9a36cddf4966c79c14.tar.xz wireguard-linux-f801850bc263d7fa0a4e6d9a36cddf4966c79c14.zip |
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/build_bug.c')
0 files changed, 0 insertions, 0 deletions