Btrfs: fix tree mod log del_ptr
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Thu, 31 May 2012 13:02:32 +0000 (15:02 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Thu, 31 May 2012 17:56:19 +0000 (19:56 +0200)
commitf395694c2cd76cb1882fa82dd37e761598367fe9
tree08e0ef4499046d1400d86b86c2f61a2a52a66cf6
parente9b7fd4d8b7c915cff353ca085b83bd19737396b
Btrfs: fix tree mod log del_ptr

Logging for del_ptr when we're not deleting the last pointer was wrong. This
fixes both, duplicate log entries and log sequence.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/ctree.c