nilfs2: Use xa_erase_irq
This code simply opencoded xa_erase_irq(). Signed-off-by: Matthew Wilcox <willy@infradead.org>
This commit is contained in:
@@ -266,9 +266,7 @@ void nilfs_btnode_abort_change_key(struct address_space *btnc,
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (nbh == NULL) { /* blocksize == pagesize */
|
if (nbh == NULL) { /* blocksize == pagesize */
|
||||||
xa_lock_irq(&btnc->i_pages);
|
xa_erase_irq(&btnc->i_pages, newkey);
|
||||||
__xa_erase(&btnc->i_pages, newkey);
|
|
||||||
xa_unlock_irq(&btnc->i_pages);
|
|
||||||
unlock_page(ctxt->bh->b_page);
|
unlock_page(ctxt->bh->b_page);
|
||||||
} else
|
} else
|
||||||
brelse(nbh);
|
brelse(nbh);
|
||||||
|
|||||||
Reference in New Issue
Block a user