HomeFreeBSD

In nfs_lock(), recheck vp->v_data after lock before accessing it.

Description

In nfs_lock(), recheck vp->v_data after lock before accessing it.

We might race with reclaim, and then this is no longer a nfs vnode, in
which case we do not need to handle deferred vnode_pager_setsize()
either.

Reported by: rk@ronald.org
PR: 242184
Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Details

Provenance
kibAuthored on
Parents
rS355209: [PPC] Remove extra \0 char inserted on vty by QEMU
Branches
Unknown
Tags
Unknown