]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs/ntfs3: Mark inode as bad as soon as error detected in mi_enum_attr()
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 30 Dec 2024 07:33:34 +0000 (10:33 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 30 Dec 2024 08:37:39 +0000 (11:37 +0300)
commit2afd4d267e6dbaec8d3ccd4f5396cb84bc67aa2e
tree5f1db2f1d96196abff5c060fd3b0cfe89b37b0f2
parent1f2bf7049f6ef6048b56b18d0033d3e77b28f973
fs/ntfs3: Mark inode as bad as soon as error detected in mi_enum_attr()

Extended the `mi_enum_attr()` function interface with an additional
parameter, `struct ntfs_inode *ni`, to allow marking the inode
as bad as soon as an error is detected.

Reported-by: syzbot+73d8fc29ec7cba8286fa@syzkaller.appspotmail.com
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/attrib.c
fs/ntfs3/frecord.c
fs/ntfs3/ntfs_fs.h
fs/ntfs3/record.c