Benjamin Coddington eecbf2c22b nfs: Fix a missed page unlock after pg_doio()
commit fdbd1a2e4a71adcb1ae219fcfd964930d77a7f84 upstream.

We must check pg_error and call error_cleanup after any call to pg_doio.
Currently, we are skipping the unlock of a page if we encounter an error in
nfs_pageio_complete() before handing off the work to the RPC layer.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-13 11:15:10 -08:00
..
2017-10-01 18:51:30 -04:00
2017-12-14 09:53:08 +01:00
2018-11-13 11:15:09 -08:00
2018-09-26 08:38:09 +02:00
2018-09-26 08:38:09 +02:00
2018-08-03 07:50:22 +02:00
2017-09-11 22:20:38 -04:00
2018-03-15 10:54:27 +01:00