]> 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)
commit30796e67b7a01b79511da6999752f2c536c6bc4e
treeeaba562491ad69b90c542a7e9854c62730ade7d0
parentd2806226e1ebecab51768e360a75b47afd1c5748
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