Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5880c7a authored by Vasily Averin's avatar Vasily Averin Committed by Miklos Szeredi
Browse files

fuse: fix missing unlock_page in fuse_writepage()



unlock_page() was missing in case of an already in-flight write against the
same page.

Signed-off-by: default avatarVasily Averin <vvs@virtuozzo.com>
Fixes: ff17be08 ("fuse: writepage: skip already in flight")
Cc: <stable@vger.kernel.org> # v3.13
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 501ae8ec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
	}