summaryrefslogtreecommitdiffstats
path: root/fs/afs/internal.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-04-06 15:17:25 +0200
committerDavid Howells <dhowells@redhat.com>2018-04-09 22:54:48 +0200
commit5f702c8e124f967146a735a19f0b00a2469487d1 (patch)
tree16f1818dcb8412656be694a3071b7f31e4ee9094 /fs/afs/internal.h
parentafs: Locally edit directory data for mkdir/create/unlink/... (diff)
downloadlinux-5f702c8e124f967146a735a19f0b00a2469487d1.tar.xz
linux-5f702c8e124f967146a735a19f0b00a2469487d1.zip
afs: Trace protocol errors
Trace protocol errors detected in afs. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/internal.h')
-rw-r--r--fs/afs/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h
index 703ddb8c5d57..6ae023cbf00e 100644
--- a/fs/afs/internal.h
+++ b/fs/afs/internal.h
@@ -875,6 +875,7 @@ extern void afs_flat_call_destructor(struct afs_call *);
extern void afs_send_empty_reply(struct afs_call *);
extern void afs_send_simple_reply(struct afs_call *, const void *, size_t);
extern int afs_extract_data(struct afs_call *, void *, size_t, bool);
+extern int afs_protocol_error(struct afs_call *, int);
static inline int afs_transfer_reply(struct afs_call *call)
{