OSDN Git Service

Btrfs: do not free the dirty bytes from the trans block rsv on cleanup
authorJosef Bacik <jbacik@fusionio.com>
Mon, 7 Oct 2013 14:45:07 +0000 (10:45 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 02:55:58 +0000 (21:55 -0500)
commiteb58bb371a04d3bbab44ec0c5672ce69487bac1e
tree634411eadc545246043dc016ca436119a35ca1fd
parent80d94fb3df2bf24a500f13181921736fa23b6c3d
Btrfs: do not free the dirty bytes from the trans block rsv on cleanup

The transactions should be cleaning up their reservations on failure, this just
causes us to have warnings on unmount because we go negative by free'ing
reservations that have already been free'ed.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/disk-io.c