diff options
| author | Joseph Qi <[email protected]> | 2016-01-14 15:17:44 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-01-14 16:00:49 -0800 |
| commit | 074a6c655f6da12cb1123c8a84bfd8d781138800 (patch) | |
| tree | 7bbf87539b2a54193f76148a1e1454357fc1bdb9 /tools/perf/scripts/python/bin | |
| parent | 32e493265b2be96404aaa478fb2913be29b06887 (diff) | |
ocfs2: access orphan dinode before delete entry in ocfs2_orphan_del
In ocfs2_orphan_del, currently it finds and deletes entry first, and
then access orphan dir dinode. This will have a problem once
ocfs2_journal_access_di fails. In this case, entry will be removed from
orphan dir, but in deed the inode hasn't been deleted successfully. In
other words, the file is missing but not actually deleted. So we should
access orphan dinode first like unlink and rename.
Signed-off-by: Joseph Qi <[email protected]>
Reviewed-by: Jiufei Xue <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Reviewed-by: Junxiao Bi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions