Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177857826
D52370.1795443338.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
481 B
Referenced Files
None
Subscribers
None
D52370.1795443338.diff
View Options
diff --git a/sys/fs/nfsserver/nfs_nfsdport.c.sav b/sys/fs/nfsserver/nfs_nfsdport.c
--- a/sys/fs/nfsserver/nfs_nfsdport.c.sav
+++ b/sys/fs/nfsserver/nfs_nfsdport.c
@@ -2607,6 +2607,7 @@
* rpc reply
*/
if (siz == 0) {
+ateof:
vput(vp);
if (nd->nd_flag & ND_NFSV3)
nfsrv_postopattr(nd, getret, &at);
@@ -2648,6 +2649,8 @@
ncookies--;
}
if (cpos >= cend || ncookies == 0) {
+ if (eofflag != 0)
+ goto ateof;
siz = fullsiz;
toff = off;
goto again;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 23, 2:15 PM (19 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41933007
Default Alt Text
D52370.1795443338.diff (481 B)
Attached To
Mode
D52370: nfsd: Fix the NFSv4 Readdir operation for an empty ZFS dir
Attached
Detach File
Event Timeline