Possible error in nfs_nfsdserv.c?

Rick Macklem rmacklem at uoguelph.ca
Mon Mar 29 22:05:14 UTC 2010



On Mon, 29 Mar 2010, John Baldwin wrote:

>>
>> I've cc'd freebsd-current, so that anyone conversant with the FreeBSD
>> VFS can jump in here. Am I right to assume that VOP_LOOKUP() for CREATE
>> will set SAVENAME when returning error == 0?
>
> No, the caller has to set that flag.  Some filesystems set it internally to
> force the name to be saved (e.g. the NFS client), but there is nothing in the
> VFS layer itself that sets it that I can see.
>
Thanks John. I spotted the comment in vfs_lookup.c that basically said
that, this morning. I'll fix up the experimental server soon, although
it seems that ufs and zfs usually set SAVENAME for the CREATE cases,
which is why I've never seen the panic.

rick



More information about the freebsd-current mailing list