diff options
author | Chao Yu <chao@kernel.org> | 2025-05-08 07:14:27 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2025-05-08 15:21:58 +0000 |
commit | 43ba56a043b14426ca9ecac875ab357e32cb595e (patch) | |
tree | 23464ca7c3882c07f8bb614406912052f84b704a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0427e811c9bc85e660457487f1da61b1aaf63477 (diff) |
f2fs: fix to return correct error number in f2fs_sync_node_pages()
If __write_node_folio() failed, it will return AOP_WRITEPAGE_ACTIVATE,
the incorrect return value may be passed to userspace in below path,
fix it.
- sync_filesystem
- sync_fs
- f2fs_issue_checkpoint
- block_operations
- f2fs_sync_node_pages
- __write_node_folio
: return AOP_WRITEPAGE_ACTIVATE
Cc: stable@vger.kernel.org
Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions