summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorDaeho Jeong <daehojeong@google.com>2026-08-21 07:17:42 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2026-08-21 23:42:33 +0000
commit11d56d7a8e60d7ee4969b56403da700745aea1af (patch)
treecbaf1a6d025d9640342b1e28c512c67fff0d982f /scripts/const_structs.checkpatch
parent2b8704b6a8b2896ccad1f5941d9a3e2c5031a470 (diff)
downloadlinux-11d56d7a8e60d7ee4969b56403da700745aea1af.tar.gz
linux-11d56d7a8e60d7ee4969b56403da700745aea1af.zip
f2fs: fix error handling on device alias check in rename and unlink
In f2fs_rename() and f2fs_unlink(), directly returning -EPERM when encountering a device aliasing file bypasses the cleanup path. Fix this by setting err to -EPERM and jumping to the proper cleanup labels (out_dir and out) instead of returning immediately. Reported-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Daeho Jeong <daehojeong@google.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