]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r268273
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 3 Aug 2014 00:35:10 +0000 (00:35 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 3 Aug 2014 00:35:10 +0000 (00:35 +0000)
commit40eade1f845088838932f7e4b2467c7cc57e40f3
tree08db98274c60fe24dce332fa6222db8702bb25ce
parent835e951d396aa3060ca033a5e7dfc506d5958656
MFC: r268273
The new NFSv3 server did not generate directory postop attributes for
the reply to ReaddirPlus when the server failed within the loop
that calls VFS_VGET(). This failure is most likely an error
return from VFS_VGET() caused by a bogus d_fileno that was
truncated to 32bits.
This patch fixes the server so that it will return directory postop
attributes for the failure. It does not fix the underlying issue caused
by d_fileno being uint32_t when a file system like ZFS generates
a fileno that is greater than 32bits.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269452 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdport.c