Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src/sys/nfs Pull up following revision(s) (requested by gavan...



details:   https://anonhg.NetBSD.org/src/rev/ab66e0df3d6c
branches:  netbsd-9
changeset: 365951:ab66e0df3d6c
user:      martin <martin%NetBSD.org@localhost>
date:      Wed May 04 17:51:20 2022 +0000

description:
Pull up following revision(s) (requested by gavan in ticket #1441):

        sys/nfs/nfs_vfsops.c: revision 1.243

Don't pretend that files are limited to 1TB on NFSv3.

diffstat:

 sys/nfs/nfs_vfsops.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 9cae9864956b -r ab66e0df3d6c sys/nfs/nfs_vfsops.c
--- a/sys/nfs/nfs_vfsops.c      Wed May 04 15:16:27 2022 +0000
+++ b/sys/nfs/nfs_vfsops.c      Wed May 04 17:51:20 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_vfsops.c,v 1.237 2018/09/03 16:29:36 riastradh Exp $       */
+/*     $NetBSD: nfs_vfsops.c,v 1.237.4.1 2022/05/04 17:51:20 martin Exp $      */
 
 /*
  * Copyright (c) 1989, 1993, 1995
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_vfsops.c,v 1.237 2018/09/03 16:29:36 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_vfsops.c,v 1.237.4.1 2022/05/04 17:51:20 martin Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_nfs.h"
@@ -307,8 +307,7 @@
                        if (nmp->nm_readdirsize == 0)
                                nmp->nm_readdirsize = xmax;
                }
-               /* XXX */
-               nmp->nm_maxfilesize = (u_int64_t)0x80000000 * DEV_BSIZE - 1;
+               nmp->nm_maxfilesize = 0xffffffffffffffffull;
                maxfsize = fxdr_hyper(&fsp->fs_maxfilesize);
                if (maxfsize > 0 && maxfsize < nmp->nm_maxfilesize)
                        nmp->nm_maxfilesize = maxfsize;



Home | Main Index | Thread Index | Old Index