summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_debug.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-10-07 21:11:00 +0200
committerChris Mason <chris.mason@fusionio.com>2013-11-12 03:56:11 +0100
commit681ae50917df9fd1fae2571fb36a579d1e872b12 (patch)
treee111fd622d2eef00c211b9adb9b68d1a8cd07e57 /fs/cifs/cifs_debug.h
parentBtrfs: do not free the dirty bytes from the trans block rsv on cleanup (diff)
downloadlinux-681ae50917df9fd1fae2571fb36a579d1e872b12.tar.xz
linux-681ae50917df9fd1fae2571fb36a579d1e872b12.zip
Btrfs: cleanup reserved space when freeing tree log on error
On error we will wait and free the tree log at unmount without a transaction. This means that the actual freeing of the blocks doesn't happen which means we complain about space leaks on unmount. So to fix this just skip the transaction specific cleanup part of the tree log free'ing if we don't have a transaction and that way we can free up our reserved space and our counters stay happy. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/cifs/cifs_debug.h')
0 files changed, 0 insertions, 0 deletions