diff options
author | David Howells <dhowells@redhat.com> | 2018-04-06 16:17:25 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-04-09 23:54:48 +0300 |
commit | 5f702c8e124f967146a735a19f0b00a2469487d1 (patch) | |
tree | 16f1818dcb8412656be694a3071b7f31e4ee9094 /fs/afs/inode.c | |
parent | 63a4681ff39cb63314b8ff41319e70fb0e606ed2 (diff) | |
download | linux-5f702c8e124f967146a735a19f0b00a2469487d1.tar.xz |
afs: Trace protocol errors
Trace protocol errors detected in afs.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/inode.c')
-rw-r--r-- | fs/afs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/inode.c b/fs/afs/inode.c index 3808dcbbac6d..06194cfe9724 100644 --- a/fs/afs/inode.c +++ b/fs/afs/inode.c @@ -82,7 +82,7 @@ static int afs_inode_init_from_status(struct afs_vnode *vnode, struct key *key) default: printk("kAFS: AFS vnode with undefined type\n"); read_sequnlock_excl(&vnode->cb_lock); - return -EBADMSG; + return afs_protocol_error(NULL, -EBADMSG); } inode->i_blocks = 0; |