]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ntfs: Add missing error code
authorEthan Tidmore <ethantidmore06@gmail.com>
Thu, 26 Feb 2026 16:09:05 +0000 (10:09 -0600)
committerNamjae Jeon <linkinjeon@kernel.org>
Fri, 27 Feb 2026 09:43:40 +0000 (18:43 +0900)
commit1c85157ea88e87644e171c7ae3e1877f43b4b345
tree42f279e2a230adaade32e4bf9896063be4a3cdd5
parentc418e96754100a9cafd7bff32c83cad746f32781
ntfs: Add missing error code

If ntfs_attr_iget() fails no error code is assigned to be returned.

Detected by Smatch:
fs/ntfs/attrib.c:2665 ntfs_attr_add() warn:
missing error code 'err'

Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/ntfs/attrib.c