summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorHongnan Li <hongnan.li@linux.alibaba.com>2022-07-22 16:27:32 +0800
committerGao Xiang <hsiangkao@linux.alibaba.com>2022-07-31 22:26:29 +0800
commitecce9212d0fd7a2d4a4998f0c4623a66887e14c8 (patch)
treef99c34b9de7778f6fdb7a50c157191816822261c /tools/perf/scripts/python/event_analyzing_sample.py
parentcc2a171372c68ee64916eb65a962b3aba9ea56ad (diff)
downloadlinux-ecce9212d0fd7a2d4a4998f0c4623a66887e14c8.tar.gz
linux-ecce9212d0fd7a2d4a4998f0c4623a66887e14c8.tar.bz2
linux-ecce9212d0fd7a2d4a4998f0c4623a66887e14c8.zip
erofs: update ctx->pos for every emitted dirent
erofs_readdir update ctx->pos after filling a batch of dentries and it may cause dir/files duplication for NFS readdirplus which depends on ctx->pos to fill dir correctly. So update ctx->pos for every emitted dirent in erofs_fill_dentries to fix it. Also fix the update of ctx->pos when the initial file position has exceeded nameoff. Fixes: 3e917cc305c6 ("erofs: make filesystem exportable") Signed-off-by: Hongnan Li <hongnan.li@linux.alibaba.com> Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Reviewed-by: Chao Yu <chao@kernel.org> Link: https://lore.kernel.org/r/20220722082732.30935-1-jefflexu@linux.alibaba.com Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions