+3
−3
Loading
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>