summaryrefslogtreecommitdiffstats
path: root/fs/afs/server.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/server.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/server.c')
-rw-r--r--fs/afs/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/server.c b/fs/afs/server.c
index 6102ea9ee3fb..1a087eb8f2d7 100644
--- a/fs/afs/server.c
+++ b/fs/afs/server.c
@@ -542,7 +542,7 @@ static bool afs_do_probe_fileserver(struct afs_fs_cursor *fc)
case -ETIME:
break;
default:
- fc->ac.error = -EIO;
+ fc->ac.error = afs_io_error(NULL, afs_io_error_fs_probe_fail);
goto error;
}
}