diff options
Diffstat (limited to 'fs/nilfs2')
-rw-r--r-- | fs/nilfs2/btnode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nilfs2/btnode.c b/fs/nilfs2/btnode.c index 5941958f1e47..435864ce06be 100644 --- a/fs/nilfs2/btnode.c +++ b/fs/nilfs2/btnode.c | |||
@@ -276,8 +276,7 @@ void nilfs_btnode_commit_change_key(struct address_space *btnc, | |||
276 | "invalid oldkey %lld (newkey=%lld)", | 276 | "invalid oldkey %lld (newkey=%lld)", |
277 | (unsigned long long)oldkey, | 277 | (unsigned long long)oldkey, |
278 | (unsigned long long)newkey); | 278 | (unsigned long long)newkey); |
279 | if (!test_set_buffer_dirty(obh) && TestSetPageDirty(opage)) | 279 | nilfs_btnode_mark_dirty(obh); |
280 | BUG(); | ||
281 | 280 | ||
282 | spin_lock_irq(&btnc->tree_lock); | 281 | spin_lock_irq(&btnc->tree_lock); |
283 | radix_tree_delete(&btnc->page_tree, oldkey); | 282 | radix_tree_delete(&btnc->page_tree, oldkey); |