]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs/ntfs3: Exclude call make_bad_inode for live nodes.
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 24 Jun 2025 13:35:39 +0000 (16:35 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 7 Jul 2025 12:35:46 +0000 (14:35 +0200)
commit519b078998ce6e729f98dccf35505b4756985d11
treee546216020a26669879cc4e141ee41d2a853d8ca
parentd99208b91933fd2a58ed9ed321af07dacd06ddc3
fs/ntfs3: Exclude call make_bad_inode for live nodes.

Use ntfs_inode field 'ni_bad' to mark inode as bad (if something went wrong)
and to avoid any operations

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/file.c
fs/ntfs3/frecord.c
fs/ntfs3/fsntfs.c
fs/ntfs3/inode.c
fs/ntfs3/namei.c
fs/ntfs3/ntfs_fs.h
fs/ntfs3/xattr.c