commit | fdbd1a2e4a71adcb1ae219fcfd964930d77a7f84 | [log] [tgz] |
---|---|---|
author | Benjamin Coddington <bcodding@redhat.com> | Thu Oct 18 15:01:48 2018 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Thu Oct 18 17:20:57 2018 -0400 |
tree | 728f68714faa6fddc69ea60e8ff8a9f61d3ed09c | |
parent | e732f4485a150492b286f3efc06f9b34dd6b9995 [diff] |
nfs: Fix a missed page unlock after pg_doio() 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>