summaryrefslogtreecommitdiffstats
path: root/fs/afs/rxrpc.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-10-20 01:57:57 +0200
committerDavid Howells <dhowells@redhat.com>2018-10-24 01:41:07 +0200
commitf51375cd9e1ad75e9e38186aa0d3749ade7d52a5 (patch)
treebe53b880c26a3895507712447741327de49e6ed9 /fs/afs/rxrpc.c
parentafs: Handle EIO from delivery function (diff)
downloadlinux-f51375cd9e1ad75e9e38186aa0d3749ade7d52a5.tar.xz
linux-f51375cd9e1ad75e9e38186aa0d3749ade7d52a5.zip
afs: Add a couple of tracepoints to log I/O errors
Add a couple of tracepoints to log the production of I/O errors within the AFS filesystem. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/rxrpc.c')
-rw-r--r--fs/afs/rxrpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/rxrpc.c b/fs/afs/rxrpc.c
index 947ae3ab389b..e6ab824ab761 100644
--- a/fs/afs/rxrpc.c
+++ b/fs/afs/rxrpc.c
@@ -915,7 +915,7 @@ int afs_extract_data(struct afs_call *call, bool want_more)
break;
case AFS_CALL_COMPLETE:
kdebug("prem complete %d", call->error);
- return -EIO;
+ return afs_io_error(call, afs_io_error_extract);
default:
break;
}