diff options
| author | Liu Bo <[email protected]> | 2013-10-29 02:45:05 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2013-11-12 03:11:00 +0000 |
| commit | 6f519564d7d978c00351d9ab6abac3deeac31621 (patch) | |
| tree | ad6219309aee3a44248fb7f7eb9756fc76423d79 /fs/btrfs/async-thread.c | |
| parent | Btrfs: log recovery, don't unlink inode always on error (diff) | |
| download | kernel-6f519564d7d978c00351d9ab6abac3deeac31621.tar.gz kernel-6f519564d7d978c00351d9ab6abac3deeac31621.zip | |
Btrfs: do not run snapshot-aware defragment on error
If something wrong happens in write endio, running snapshot-aware defragment
can end up with undefined results, maybe a crash, so we should avoid it.
In order to share similar code, this also adds a helper to free the struct for
snapshot-aware defrag.
Signed-off-by: Liu Bo <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
