summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorWenjie Qi <qwjhust@gmail.com>2026-08-10 21:38:32 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2026-08-21 23:42:34 +0000
commita2c73a7a677afdaa8b16d775188f9ef5cfbfd8b2 (patch)
treebd2b06d59b9bf40f14dfedd45f243c206929bf8f /scripts/const_structs.checkpatch
parent11d56d7a8e60d7ee4969b56403da700745aea1af (diff)
downloadlinux-a2c73a7a677afdaa8b16d775188f9ef5cfbfd8b2.tar.gz
linux-a2c73a7a677afdaa8b16d775188f9ef5cfbfd8b2.zip
f2fs: return symlink writeback errors
F2FS writes long symlink data with page_symlink() and then flushes the symlink mapping to reduce the chance of exposing a broken symlink. That flush result is currently ignored. If the writeback fails, symlink() still returns success even though the symlink is not durable and the same operation can already surface -EIO through syncfs(). Return the writeback error to userspace and skip the dirsync flush once the symlink data flush has failed. Fixes: d0cae97cb600 ("f2fs: flush symlink path to avoid broken symlink after POR") Cc: stable@kernel.org Signed-off-by: Wenjie Qi <qiwenjie@xiaomi.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions