Re: Possible error in nfs_nfsdserv.c?

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Mon, 29 Mar 2010 18:18:28 -0400 (EDT)
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
Received on Mon Mar 29 2010 - 20:05:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC