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

Next file: linux/fs/proc/inode.c
Previous file: linux/fs/nfsd/nfsfh.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/fs/nfsd/vfs.c linux/fs/nfsd/vfs.c
@@ -1557,7 +1557,7 @@
 	if (cd.offset) {
 #ifdef CONFIG_NFSD_V3
 		if (rqstp->rq_vers == 3)
-			(void)enc64(cd.offset, file.f_pos);
+			(void)xdr_encode_hyper(cd.offset, file.f_pos);
 		else
 #endif /* CONFIG_NFSD_V3 */
 			*cd.offset = htonl(file.f_pos);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)