projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
501ae8e
)
fuse: fix missing unlock_page in fuse_writepage()
author
Vasily Averin
<vvs@virtuozzo.com>
Fri, 13 Sep 2019 15:17:11 +0000
(18:17 +0300)
committer
Miklos Szeredi
<mszeredi@redhat.com>
Tue, 24 Sep 2019 13:28:01 +0000
(15:28 +0200)
unlock_page() was missing in case of an already in-flight write against the
same page.
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Fixes: ff17be086477 ("fuse: writepage: skip already in flight")
Cc: <stable@vger.kernel.org> # v3.13
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/file.c
patch
|
blob
|
history
diff --git
a/fs/fuse/file.c
b/fs/fuse/file.c
index a2ea347c4d2c760a9d6b3d2dbfc1896dbd538e0c..8c7578b95d2c759a51a3ec5b63f3039c56a44b4d 100644
(file)
--- 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;
}