projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2a491f
)
nilfs2: convert nilfs_btnode_abort_change_key to use a folio
author
Matthew Wilcox (Oracle)
<willy@infradead.org>
Tue, 14 Nov 2023 08:44:36 +0000
(17:44 +0900)
committer
Andrew Morton
<akpm@linux-foundation.org>
Mon, 11 Dec 2023 01:21:30 +0000
(17:21 -0800)
Saves one call to compound_head().
Link:
https://lkml.kernel.org/r/20231114084436.2755-21-konishi.ryusuke@gmail.com
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/nilfs2/btnode.c
patch
|
blob
|
history
diff --git
a/fs/nilfs2/btnode.c
b/fs/nilfs2/btnode.c
index fb1638765d54911f29ec4ddb1943fab0f5d699d9..1204dd06ead8c53ac4b36c7df5c1d9f586c22914 100644
(file)
--- a/
fs/nilfs2/btnode.c
+++ b/
fs/nilfs2/btnode.c
@@
-284,7
+284,7
@@
void nilfs_btnode_abort_change_key(struct address_space *btnc,
if (nbh == NULL) { /* blocksize == pagesize */
xa_erase_irq(&btnc->i_pages, newkey);
-
unlock_page(ctxt->bh->b_page
);
+
folio_unlock(ctxt->bh->b_folio
);
} else {
/*
* When canceling a buffer that a prepare operation has