git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
269d040
)
Btrfs: do not run snapshot-aware defragment on error
author
Liu Bo
<bo.li.liu@oracle.com>
Tue, 29 Oct 2013 02:45:05 +0000
(10:45 +0800)
committer
Chris Mason
<chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:11:00 +0000
(22:11 -0500)
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>
fs/btrfs/inode.c
patch
|
blob
|
history
diff --cc
fs/btrfs/inode.c
Simple merge