diff options
| author | 2026-05-06 14:08:22 -0300 | |
|---|---|---|
| committer | 2026-06-02 17:02:29 +0200 | |
| commit | e8ed78f40eecd0176fda71d673f6957c98e7ffbe (patch) | |
| tree | 3085ca8734cadb636cf4eb67af343c370e878a7e /scripts | |
| parent | fs/ntfs3: fix wrong LCN in run_remove_range() when splitting a run (diff) | |
fs/ntfs3: call _ntfs_bad_inode() when failing to rename
It is safe to call _ntfs_bad_inode on live inodes since:
commit 519b078998ce ("fs/ntfs3: Exclude call make_bad_inode for live nodes.")
The WARN_ON was added when it wasn't safe by:
commit d99208b91933 ("fs/ntfs3: cancle set bad inode after removing name fails")
Replace the WARN_ON with a call to _ntfs_bad_inode() to prevent further
operations on the inconsistent inode.
Reported-by: syzbot+4d8e30dbafb5c1260479@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=4d8e30dbafb5c1260479
Fixes: 519b078998ce ("fs/ntfs3: Exclude call make_bad_inode for live nodes.")
Signed-off-by: Helen Koike <koike@igalia.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
