summaryrefslogtreecommitdiff
path: root/fs/nfs/cache_lib.h
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2018-10-18 15:01:48 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2018-10-18 17:20:57 -0400
commitfdbd1a2e4a71adcb1ae219fcfd964930d77a7f84 (patch)
tree728f68714faa6fddc69ea60e8ff8a9f61d3ed09c /fs/nfs/cache_lib.h
parente732f4485a150492b286f3efc06f9b34dd6b9995 (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>
Diffstat (limited to 'fs/nfs/cache_lib.h')
0 files changed, 0 insertions, 0 deletions