diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2013-10-29 10:45:05 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-20 07:49:09 -0800 |
commit | 9e5787dec9c785cc58e27c03d9c3e5536d18698a (patch) | |
tree | 675ce6d9daa747b3efebdb25446d7b6219c593f9 /MAINTAINERS | |
parent | 486d1e163be2d32150a053c7ac3fc853ba6fd998 (diff) | |
download | lwn-9e5787dec9c785cc58e27c03d9c3e5536d18698a.tar.gz lwn-9e5787dec9c785cc58e27c03d9c3e5536d18698a.zip |
Btrfs: do not run snapshot-aware defragment on error
commit 6f519564d7d978c00351d9ab6abac3deeac31621 upstream.
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 <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions