milos-linux/fs/jfs
Hongling Zeng a7cf1da7ac
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: 88d5baf690 ("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>
2026-05-11 14:19:01 +02:00
..
acl.c posix_acl: make posix_acl_to_xattr() alloc the buffer 2026-01-16 10:51:12 +01:00
file.c jfs: add setlease file operation 2026-01-12 10:55:46 +01:00
inode.c treewide: change inode->i_ino from unsigned long to u64 2026-03-06 14:31:28 +01:00
ioctl.c tree-wide: s/struct fileattr/struct file_kattr/g 2025-07-04 16:14:39 +02:00
jfs_acl.h fs: port ->set_acl() to pass mnt_idmap 2023-01-19 09:24:27 +01:00
jfs_btree.h
jfs_debug.c
jfs_debug.h
jfs_dinode.h jfs: define xtree root and page independently 2023-10-13 10:39:25 -05:00
jfs_discard.c jfs: Fix null-ptr-deref in jfs_ioc_trim 2025-04-03 09:11:42 -05:00
jfs_discard.h
jfs_dmap.c jfs: add dmapctl integrity check to prevent invalid operations 2026-03-11 10:57:52 -05:00
jfs_dmap.h
jfs_dtree.c jfs: avoid -Wtautological-constant-out-of-range-compare warning again 2026-03-16 10:20:47 -05:00
jfs_dtree.h jfs: add dtpage integrity check to prevent index/pointer overflows 2026-03-11 10:57:52 -05:00
jfs_extent.c jfs: add check read-only before txBeginAnon() call 2025-02-19 15:28:49 -06:00
jfs_extent.h jfs: remove unused declarations for jfs 2022-10-18 08:50:26 -05:00
jfs_filsys.h jfs: convert jfs to use the new mount api 2024-10-08 14:41:53 +02:00
jfs_imap.c More robust data integrity checking and some fixes. 2026-04-15 19:29:18 -07:00
jfs_imap.h
jfs_incore.h jfs: Rename _inline to avoid conflict with clang's '-fms-extensions' 2025-10-29 16:22:21 -07:00
jfs_inode.c jfs: convert to new timestamp accessors 2023-10-18 14:08:23 +02:00
jfs_inode.h tree-wide: s/struct fileattr/struct file_kattr/g 2025-07-04 16:14:39 +02:00
jfs_lock.h
jfs_logmgr.c jfs: hold LOG_LOCK on umount to avoid null-ptr-deref 2026-03-11 10:57:52 -05:00
jfs_logmgr.h jfs: hold LOG_LOCK on umount to avoid null-ptr-deref 2026-03-11 10:57:52 -05:00
jfs_metapage.c More robust data integrity checking and some fixes. 2026-04-15 19:29:18 -07:00
jfs_metapage.h jfs: Change metapage->page to metapage->folio 2024-05-27 20:37:06 -05:00
jfs_mount.c JFS: always load filesystem UUID during mount 2026-03-11 10:57:52 -05:00
jfs_superblock.h
jfs_txnmgr.c jfs: fix corrupted list in dbUpdatePMap 2026-03-11 10:57:52 -05:00
jfs_txnmgr.h
jfs_types.h
jfs_umount.c jfs: hold LOG_LOCK on umount to avoid null-ptr-deref 2026-03-11 10:57:52 -05:00
jfs_unicode.c
jfs_unicode.h fs/jfs: Use common ucs2 upper case table 2023-08-30 08:55:52 -05:00
jfs_xattr.h jfs: move jfs_xattr_handlers to .rodata 2023-10-09 16:24:19 +02:00
jfs_xtree.c jfs: jfs_xtree: replace XT_GETPAGE macro with xt_getpage() 2025-07-14 17:08:14 -05:00
jfs_xtree.h jfs: define xtree root and page independently 2023-10-13 10:39:25 -05:00
Kconfig 22 smb3/cifs client fixes and two related changes (for unicode mapping) 2023-08-30 21:01:40 -07:00
Makefile fs/jfs: Use common ucs2 upper case table 2023-08-30 08:55:52 -05:00
namei.c fs: Fix return in jfs_mkdir and orangefs_mkdir 2026-05-11 14:19:01 +02:00
resize.c
super.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
symlink.c
xattr.c jfs: fix slab-out-of-bounds read in ea_get() 2025-02-19 16:20:14 -06:00