Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <rgoldwyn@suse.com>2018-08-23 14:54:24 -0500
committerGoldwyn Rodrigues <rgoldwyn@suse.com>2018-08-23 14:54:39 -0500
commitdf530be9fd39a21f97a541d0ab921241f6a815fe (patch)
treea208975fead59cc69fa3f8fb0f792fa887f61493
parent31c9b9f0789725c2e4d1355aa8fd38ed22fba7a6 (diff)
fuse: Add missed unlock_page() to fuse_readpages_fill()
(bsc#1105806). suse-commit: 64c8a489dbdfed06ca22dae83a2a38d6ec1006e5
-rw-r--r--fs/fuse/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index e6d40e4f5e83..b4bccc0cdb65 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -863,6 +863,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;
}