diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-07-15 15:57:06 (GMT) |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-07-19 19:07:03 (GMT) |
commit | 3c8f24225752fba30f7265202ce6092318ed9fac (patch) | |
tree | 203f2d8658a50529179d9e976e4fd93a263b90c8 /fs/nfs | |
parent | b8a33fc7258f9e6e42b15571d0284b7c0ef0d0a9 (diff) | |
download | linux-3c8f24225752fba30f7265202ce6092318ed9fac.tar.xz |
Btrfs: update drop progress before stopping snapshot dropping
Alex pointed out a problem and fix that exists in the drop one snapshot at a
time patch. If we decide we need to exit for whatever reason (umount for
example) we will just exit the snapshot dropping without updating the drop
progress. So the next time we go to resume we will BUG_ON() because we can't
find the extent we left off at because we never updated it. This patch fixes
the problem.
Cc: stable@vger.kernel.org
Reported-by: Alex Lyakas <alex.btrfs@zadarastorage.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions