afs: Pass pre-fetch server and volume break counts into afs_iget5_set()
authorDavid Howells <dhowells@redhat.com>
Tue, 14 May 2019 11:23:43 +0000 (12:23 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 16 May 2019 21:23:21 +0000 (22:23 +0100)
commitb8359153252d4465cb74f8de6c50e8c6295cbe2e
tree5ec539b6936cde10dc725cbc90acff2220c0f814
parenta38a75581e6e2f783e7b8658e9ca5d4243279f55
afs: Pass pre-fetch server and volume break counts into afs_iget5_set()

Pass the server and volume break counts from before the status fetch
operation that queried the attributes of a file into afs_iget5_set() so
that the new vnode's break counters can be initialised appropriately.

This allows detection of a volume or server break that happened whilst we
were fetching the status or setting up the vnode.

Fixes: c435ee34551e ("afs: Overhaul the callback handling")
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/dir.c
fs/afs/inode.c
fs/afs/internal.h
fs/afs/super.c