]> www.infradead.org Git - users/dwmw2/linux.git/commit
Revert "fs: nfs: fix missing refcnt by replacing folio_set_private by folio_attach_pr...
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 5 Nov 2024 02:01:43 +0000 (21:01 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 10 Nov 2024 02:38:39 +0000 (21:38 -0500)
commit8f52caf9d231e77412766b48e5630a647e5ef774
treec897654b072912cbcd1340a1eca256f41bf825ea
parent650703bc4ed3edf841e851c99ab8e7ba9e5262a3
Revert "fs: nfs: fix missing refcnt by replacing folio_set_private by folio_attach_private"

This reverts commit 03e02b94171b1985dd0aa184296fe94425b855a3.

As was pointed out during code review, there is no need to use
folio_attach_private()/folio_detach_private() when a refcount to the
folio is already carried by the struct nfs_page.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/write.c