VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Vasily Averin <vvs@virtuozzo.com> 2019-09-13 18:17:11 +0300 committer: Miklos Szeredi <mszeredi@redhat.com> 2019-09-24 15:28:01 +0200 commit: d5880c7a8620290a6c90ced7a0e8bd0ad9419601 parent: 501ae8ecae2ba5122774dee4445003505a7fd01b
Commit Summary:
fuse: fix missing unlock_page in fuse_writepage()
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index a2ea347c4d2c..8c7578b95d2c 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -1861,6 +1861,7 @@ static int fuse_writepage(struct page *page, struct writeback_control *wbc)
 		WARN_ON(wbc->sync_mode == WB_SYNC_ALL);
 
 		redirty_page_for_writepage(wbc, page);
+		unlock_page(page);
 		return 0;
 	}