fuse: Add missed unlock_page() to fuse_readpages_fill()
Subsystems (2)
PATCH 1/1 fuse: Add missed unlock_page() to fuse_readpages_fill()
The above error path returns with page unlocked,
so this place seems also to behave the same.
Signed-off-by Kirill Tkhai <[email protected]>
--- fs/fuse/file.c | 1 + 1 file changed, 1 insertion(+)
fs/fuse/file.c +1 -0
@@ -866,6 +866,7 @@ static int fuse_readpages_fill(void *_data, struct page *page) }if (WARN_ON (req->num_pages >= req->max_pages)) { +unlock_page (page);fuse_put_request (fc, req);return -EIO ; }