Skip to content
Unverified Commit c935c668 authored by Konstantin Komarov's avatar Konstantin Komarov
Browse files

fs/ntfs3: Redesign ntfs_create_inode to return error code instead of inode



As Al Viro correctly pointed out, there is no need to return
the whole structure to check the error.
https://lore.kernel.org/ntfs3/20240322023515.GK538574@ZenIV/

Acked-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
parent 1997cdc3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment