summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDmitry Morgun <d.morgun@ispras.ru>2026-07-12 15:15:49 +0000
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2026-10-07 23:30:00 +0200
commit131f7d7abf0f10edc6ea6b032f8a3908bdb13ce8 (patch)
tree4482d8906c5b3e29dc93088da2c49cb01f65a794 /tools/lib/python
parent944ed7c00182deb1a8e9aa59d7c9d0a56f5c42f3 (diff)
downloadlinux-next-131f7d7abf0f10edc6ea6b032f8a3908bdb13ce8.tar.gz
linux-next-131f7d7abf0f10edc6ea6b032f8a3908bdb13ce8.zip
fs/ntfs3: check return values in indx_delete_entry()
When the index tree collapses down to an empty root, indx_delete_entry() calls attr_set_size() and ni_remove_attr() for both ATTR_ALLOC and ATTR_BITMAP, but their return values are overwritten by the following call without being checked. In most other call sites of these functions the return value is checked, so add the same checks here in case an error at this point is meaningful. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 82cae269cfa9 ("fs/ntfs3: Add initialization of super block") Signed-off-by: Dmitry Morgun <d.morgun@ispras.ru> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions