]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
fuse: Add missed unlock_page() to fuse_readpages_fill()
authorKirill Tkhai <ktkhai@virtuozzo.com>
Thu, 19 Jul 2018 12:49:39 +0000 (15:49 +0300)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:45:05 +0000 (19:45 -0600)
commitb2ff08ab7218080f70a87565f1e0646e67ebf7da
tree8a1feff90cc3901b30dcca568815d7a4fb5c0982
parentaf1af572b196e70e873d2348dbbea926c60b8595
fuse: Add missed unlock_page() to fuse_readpages_fill()

BugLink: https://bugs.launchpad.net/bugs/1835972
commit 109728ccc5933151c68d1106e4065478a487a323 upstream.

The above error path returns with page unlocked, so this place seems also
to behave the same.

Fixes: f8dbdf81821b ("fuse: rework fuse_readpages()")
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
fs/fuse/file.c