]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc212d10faed804b8e8d8c19ae765a4af7a55c01
tree5ec539b6936cde10dc725cbc90acff2220c0f814
parent220eefbb599f97e96b92b020844a04a546820eab
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: e2b940e98c70 ("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