fuse: fix missing unlock_page in fuse_writepage()
authorVasily Averin <vvs@virtuozzo.com>
Fri, 13 Sep 2019 15:17:11 +0000 (18:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2019 10:30:31 +0000 (12:30 +0200)
commita48915476e612ff4da30d8340881b4d6bdb2fec6
tree3fd9e5fb7e027b5a381129b4bbb8522691a6abbf
parentc1f7ffbf978f32a5c85cb2d0599fa1199aaf55da
fuse: fix missing unlock_page in fuse_writepage()

commit d5880c7a8620290a6c90ced7a0e8bd0ad9419601 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/fuse/file.c