summaryrefslogtreecommitdiff
path: root/drivers/phy/eswin/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHongling Zeng <zenghongling@kylinos.cn>2026-06-04 15:36:47 +0800
committerTheodore Ts'o <tytso@mit.edu>2026-06-10 10:43:24 -0400
commit8e1c43af7cf5091d99db38b7c8129e394d7f45b5 (patch)
tree76e622aaf27b0ba8c1c3e0287ee94045ca0181d5 /drivers/phy/eswin/git@git.tavy.me:linux.git
parentbbe9015f23432bd4f5b8590eb178b3b5b7c29f02 (diff)
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 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions