]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
afs: Fix error handling in afs_req_issue_op()
authorDavid Howells <dhowells@redhat.com>
Tue, 2 Feb 2021 17:40:36 +0000 (17:40 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 2 Feb 2021 20:41:40 +0000 (20:41 +0000)
commit12a86789cc2c154ad43d6d2eeadc650abb82d4e8
tree766aa9fd4112b80865679ca3e8e881529343c3c5
parent5792dce657e8513906c6c0fad19d6184cfa1b7a6
afs: Fix error handling in afs_req_issue_op()

Fix error handling in afs_req_issue_op() by calling
netfs_subreq_terminated() rather than simply storing the error in
subreq->error.  The netfs function must be called to wake up anyone
waiting.

Fixes: 751551a7a74a ("afs: Use new fscache read helper API")
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/file.c