diff options
author | David Howells <dhowells@redhat.com> | 2019-04-25 15:26:52 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-05-07 17:48:44 +0200 |
commit | b134d687dd9369bb2407a23c6ecc9e0a15d8bb20 (patch) | |
tree | d47c8ca5259eb85c26b79756243469964ea19ff4 /fs/afs/dir.c | |
parent | afs: Provide mount-time configurable byte-range file locking emulation (diff) | |
download | linux-b134d687dd9369bb2407a23c6ecc9e0a15d8bb20.tar.xz linux-b134d687dd9369bb2407a23c6ecc9e0a15d8bb20.zip |
afs: Log more information for "kAFS: AFS vnode with undefined type\n"
Log more information when "kAFS: AFS vnode with undefined type\n" is
displayed due to a vnode record being retrieved from the server that
appears to have a duff file type (usually 0). This prints more information
to try and help pin down the problem.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/dir.c')
-rw-r--r-- | fs/afs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/afs/dir.c b/fs/afs/dir.c index 48706eefc63b..9a466be583d2 100644 --- a/fs/afs/dir.c +++ b/fs/afs/dir.c @@ -776,7 +776,7 @@ success: ti = afs_iget(dir->i_sb, key, &cookie->fids[i], &cookie->statuses[i], &cookie->callbacks[i], - cbi); + cbi, dvnode); if (i == 0) { inode = ti; } else { @@ -1125,7 +1125,7 @@ static void afs_vnode_new_inode(struct afs_fs_cursor *fc, return; inode = afs_iget(fc->vnode->vfs_inode.i_sb, fc->key, - newfid, newstatus, newcb, fc->cbi); + newfid, newstatus, newcb, fc->cbi, fc->vnode); if (IS_ERR(inode)) { /* ENOMEM or EINTR at a really inconvenient time - just abandon * the new directory on the server. |