netfs: Remove call to folio_index()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 5 Oct 2024 18:23:03 +0000 (19:23 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 7 Oct 2024 11:45:15 +0000 (13:45 +0200)
commitfcd4904e2f6908d5c255fa5818bcf8ad32a6f0e8
treef99a5f7c6801408e0132c121564c77ed0722be24
parentf801850bc263d7fa0a4e6d9a36cddf4966c79c14
netfs: Remove call to folio_index()

Calling folio_index() is pointless overhead; directly dereferencing
folio->index is fine.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20241005182307.3190401-2-willy@infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
include/trace/events/netfs.h