aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorzhangyi (F) <[email protected]>2021-03-03 21:17:03 +0800
committerTheodore Ts'o <[email protected]>2021-03-21 00:09:14 -0400
commit5dccdc5a1916d4266edd251f20bbbb113a5c495f (patch)
tree331426781ad251b0c88a4c35e69430a536eb60ff /tools/perf/scripts/python/exported-sql-viewer.py
parentb7ff91fd030dc9d72ed91b1aab36e445a003af4f (diff)
ext4: do not iput inode under running transaction in ext4_rename()
In ext4_rename(), when RENAME_WHITEOUT failed to add new entry into directory, it ends up dropping new created whiteout inode under the running transaction. After commit <9b88f9fb0d2> ("ext4: Do not iput inode under running transaction"), we follow the assumptions that evict() does not get called from a transaction context but in ext4_rename() it breaks this suggestion. Although it's not a real problem, better to obey it, so this patch add inode to orphan list and stop transaction before final iput(). Signed-off-by: zhangyi (F) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions