summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorHongling Zeng <zenghongling@kylinos.cn>2026-06-04 10:36:47 +0300
committerTheodore Ts'o <tytso@mit.edu>2026-06-10 17:43:24 +0300
commit8e1c43af7cf5091d99db38b7c8129e394d7f45b5 (patch)
tree76e622aaf27b0ba8c1c3e0287ee94045ca0181d5 /include/linux/errqueue.h
parentbbe9015f23432bd4f5b8590eb178b3b5b7c29f02 (diff)
downloadlinux-8e1c43af7cf5091d99db38b7c8129e394d7f45b5.tar.xz
ext4: fix ERR_PTR(0) in ext4_mkdir()
When mkdir succeeds, ext4_mkdir() returns ERR_PTR(0) which is incorrect. It should return NULL instead for success and ERR_PTR() only with negative error codes for failure. Fixes: 88d5baf69082 ("Change inode_operations.mkdir to return struct dentry *") Signed-off-by: Hongling Zeng <zenghongling@kylinos.cn> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Baokun Li <libaokun@linux.alibaba.com> Link: https://patch.msgid.link/20260604073647.211279-1-zenghongling@kylinos.cn Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions