patch-2.1.116 linux/fs/nfsd/vfs.c

Next file: linux/fs/ntfs/super.c
Previous file: linux/fs/ext2/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.115/linux/fs/nfsd/vfs.c linux/fs/nfsd/vfs.c
@@ -1157,10 +1157,7 @@
 	/* If we didn't fill the buffer completely, we're at EOF */
 	eof = !cd.eob;
 
-	/* Hewlett Packard ignores the eof flag on READDIR. Some
-	 * fs-specific readdir implementations seem to reset f_pos to 0
-	 * at EOF however, causing an endless loop. */
-	if (cd.offset && !eof)
+	if (cd.offset)
 		*cd.offset = htonl(file.f_pos);
 
 	p = cd.buffer;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov