summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYeongjin Gil <youngjin.gil@samsung.com>2024-08-13 10:32:44 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2024-08-21 03:56:27 +0300
commit8c1b787938fd86bab27a1492fa887408c75fec2b (patch)
treef3476141dc69e05fca1032a13c1d1c55b70254a2 /tools/perf/scripts/python
parent4f5a100f87f32cb65d4bb1ad282a08c92f6f591e (diff)
downloadlinux-8c1b787938fd86bab27a1492fa887408c75fec2b.tar.xz
f2fs: Create COW inode from parent dentry for atomic write
The i_pino in f2fs_inode_info has the previous parent's i_ino when inode was renamed, which may cause f2fs_ioc_start_atomic_write to fail. If file_wrong_pino is true and i_nlink is 1, then to find a valid pino, we should refer to the dentry from inode. To resolve this issue, let's get parent inode using parent dentry directly. Fixes: 3db1de0e582c ("f2fs: change the current atomic write way") Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com> Reviewed-by: Sunmin Jeong <s_min.jeong@samsung.com> Signed-off-by: Yeongjin Gil <youngjin.gil@samsung.com> Reviewed-by: Daeho Jeong <daehojeong@google.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions