]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: check balance of send_in_progress
authorDavid Sterba <dsterba@suse.cz>
Tue, 17 Dec 2013 14:07:20 +0000 (15:07 +0100)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:20:04 +0000 (13:20 -0800)
commitf3f273ec50da5281f80b66a997358de2bd7980c7
treeeaba562491ad69b90c542a7e9854c62730ade7d0
parent6a3bfa59c1d007a7e09fb356d1cb25e0beaa003d
btrfs: check balance of send_in_progress

Warn if the balance goes below zero, which appears to be unlikely
though. Otherwise cleans up the code a bit.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/send.c