Btrfs: reorder tree mod log operations in deleting a pointer
authorLiu Bo <bo.li.liu@oracle.com>
Fri, 19 Oct 2012 09:50:53 +0000 (09:50 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Tue, 11 Dec 2012 18:31:34 +0000 (13:31 -0500)
commit6a7a665d78c5dd8bc76a010648c4e7d84517ab5a
tree60f958605272185f93d99edf8da17dc64430bde4
parent95c80bb1f6b24b57058d971ed252b2c1c5121b51
Btrfs: reorder tree mod log operations in deleting a pointer

Since we don't use MOD_LOG_KEY_REMOVE_WHILE_MOVING to add nritems
during rewinding, we should insert a MOD_LOG_KEY_REMOVE operation first.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ctree.c