diff options
| author | Xue jiufei <[email protected]> | 2013-11-12 15:07:06 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-11-13 12:09:02 +0900 |
| commit | b1214e4757b7d5fcea483b927e130361d41430a5 (patch) | |
| tree | 16f2de745db9515e688c17dee85fca8ec8f002f4 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | bfbca926d67c9bf3212d1077c6afd48d2995a285 (diff) | |
ocfs2: fix possible double free in ocfs2_write_begin_nolock
When ocfs2_write_cluster_by_desc() failed in ocfs2_write_begin_nolock()
because of ENOSPC, it goes to out_quota, freeing data_ac(meta_ac). Then
it calls ocfs2_try_to_free_truncate_log() to free space. If enough
space freed, it will try to write again. Unfortunately, some error
happenes before ocfs2_lock_allocators(), it goes to out and free
data_ac(meta_ac) again.
Signed-off-by: joyce <[email protected]>
Reviewed-by: Jie Liu <[email protected]>
Acked-by: Joel Becker <[email protected]>
Cc: Mark Fasheh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions