diff --git a/fs/afs/inode.c b/fs/afs/inode.c index ade6ec3873cf45161790a66f126d85bfc2a8a2a2..e083e086b7ca8b25fe0ab733b3a4e6b92cb68b4a 100644 --- a/fs/afs/inode.c +++ b/fs/afs/inode.c @@ -445,7 +445,7 @@ void afs_evict_inode(struct inode *inode) mutex_lock(&vnode->permits_lock); permits = vnode->permits; - rcu_assign_pointer(vnode->permits, NULL); + RCU_INIT_POINTER(vnode->permits, NULL); mutex_unlock(&vnode->permits_lock); if (permits) call_rcu(&permits->rcu, afs_zap_permits);