diff options
| author | 2026-04-27 22:58:52 +0900 | |
|---|---|---|
| committer | 2026-04-27 22:58:52 +0900 | |
| commit | 785bc568161d96fdbd4326294d427a48e66fe60f (patch) | |
| tree | 3e6067c1643e2112967a44bea518ca5618d0c1fc /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | ntfs: fix VCN overflow in ntfs_mapping_pairs_decompress() (diff) | |
ntfs: fix error handling in ntfs_write_iomap_end_resident()
When ntfs_attr_get_search_ctx() fails and returns NULL, the function
returned early without calling put_page(ipage).
Fix this by jumping to err_out label on error. The err_out path now
properly releases the page and the mutex, with a NULL check for
the search context.
Reported-by: DaeMyung Kang <charsyam@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
