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

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to