Commit fe2b5114 authored by Matthew Wilcox's avatar Matthew Wilcox

nilfs2: Use xa_erase_irq

This code simply opencoded xa_erase_irq().
Signed-off-by: default avatarMatthew Wilcox <willy@infradead.org>
parent 9ee5a3b7
......@@ -266,9 +266,7 @@ void nilfs_btnode_abort_change_key(struct address_space *btnc,
return;
if (nbh == NULL) { /* blocksize == pagesize */
xa_lock_irq(&btnc->i_pages);
__xa_erase(&btnc->i_pages, newkey);
xa_unlock_irq(&btnc->i_pages);
xa_erase_irq(&btnc->i_pages, newkey);
unlock_page(ctxt->bh->b_page);
} else
brelse(nbh);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment