afs: Split afs_validate() so first part can be used under LOOKUP_RCU
authorDavid Howells <dhowells@redhat.com>
Thu, 9 May 2019 13:31:11 +0000 (14:31 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 16 May 2019 21:23:21 +0000 (22:23 +0100)
commitc925bd0ac4741badb567f594c41c8cba5e9e9732
tree553b6c1ba69724e66becc4c37ed6f89ef23d2fc7
parent7c712458669f203fb2c59af8aafea4c4767b4bc9
afs: Split afs_validate() so first part can be used under LOOKUP_RCU

Split afs_validate() so that the part that decides if the vnode is still
valid can be used under LOOKUP_RCU conditions from afs_d_revalidate().

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/inode.c
fs/afs/internal.h