Re: Possible error in nfs_nfsdserv.c?

2010-03-27 Thread Rick Macklem
On Fri, 26 Mar 2010, Petr Lampa wrote: I've got several "panic: nfsrelpath", see attached photo. I've found one place where it could probably happen, please, can you look at this? First name buffer is initialized in nfsrvd_link() with: NFSNAMEICNDSET(&named.ni_cnd, nd->nd_cred, CREAT

Re: Possible error in nfs_nfsdserv.c?

2010-03-29 Thread John Baldwin
On Saturday 27 March 2010 9:49:23 am Rick Macklem wrote: > > On Fri, 26 Mar 2010, Petr Lampa wrote: > > > > > I've got several "panic: nfsrelpath", see attached photo. I've found > > one place where it could probably happen, please, can you look at this? > > > > First name buffer is initialized i

Re: Possible error in nfs_nfsdserv.c?

2010-03-29 Thread Rick Macklem
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 i