summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHongling Zeng <zenghongling@kylinos.cn>2026-05-01 15:10:58 +0800
committerChristian Brauner <brauner@kernel.org>2026-05-11 14:19:01 +0200
commita7cf1da7ac016490d6a1106f2aa6b602d34e9a12 (patch)
tree7f2daf4be93c8ec5d3b4d62e8c3507be855f8397 /include
parenta3bf0f28d4ba16e1f35f8c983bb04426b87e2a78 (diff)
fs: Fix return in jfs_mkdir and orangefs_mkdir
Return NULL instead of passing to ERR_PTR while err is zero Fixes these smatch warnings: - fs/jfs/namei.c:311 jfs_mkdir() warn: passing zero to 'ERR_PTR' - fs/orangefs/namei.c:369 orangefs_mkdir() warn: passing zero to 'ERR_PTR' Fixes: 88d5baf69082 ("Change inode_operations.mkdir to return struct dentry *") Signed-off-by: Hongling Zeng <zenghongling@kylinos.cn> Link: https://patch.msgid.link/20260501071058.1243245-1-zenghongling@kylinos.cn Reviewed-by: Jori Koolstra <jkoolstra@xs4all.nl> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions