aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-05-05 11:41:11 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2020-05-11 20:36:46 -0700
commit84c9c2de0626567c0d964ee5fa1ae3310911ddf8 (patch)
tree27e4f37bc61b46f10ceb404683814307025364f4 /tools/perf/scripts/python/export-to-sqlite.py
parent43c780ba26244e4caf3f9986beb6c4ae5eb54f50 (diff)
f2fs: correctly fix the parent inode number during fsync()
fsync() may be called on a deleted file that's still open. So when fsync() tries to set the parent inode number when the inode has LOST_PINO and i_nlink == 1 (to avoid later checkpoints), it needs to make sure to get the parent directory via a non-deleted alias. Also remove the unnecessary igrab() and iput(), as the caller already holds a reference to the inode. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions