Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145575785
D52370.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
473 B
Referenced Files
None
Subscribers
None
D52370.diff
View Options
diff --git a/sys/fs/nfsserver/nfs_nfsdport.c b/sys/fs/nfsserver/nfs_nfsdport.c
--- a/sys/fs/nfsserver/nfs_nfsdport.c
+++ 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
Sun, Feb 22, 5:21 PM (46 m, 27 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28940413
Default Alt Text
D52370.diff (473 B)
Attached To
Mode
D52370: nfsd: Fix the NFSv4 Readdir operation for an empty ZFS dir
Attached
Detach File
Event Timeline
Log In to Comment