Source-Changes-HG archive

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

[src/trunk]: src/sys/nfs remove nfsm_srvstrsiz as it's no longer used.



details:   https://anonhg.NetBSD.org/src/rev/de9213d309c6
branches:  trunk
changeset: 546780:de9213d309c6
user:      yamt <yamt%NetBSD.org@localhost>
date:      Tue May 06 13:52:36 2003 +0000

description:
remove nfsm_srvstrsiz as it's no longer used.

diffstat:

 sys/nfs/nfsm_subs.h |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (23 lines):

diff -r a62fee0ce31b -r de9213d309c6 sys/nfs/nfsm_subs.h
--- a/sys/nfs/nfsm_subs.h       Tue May 06 11:34:01 2003 +0000
+++ b/sys/nfs/nfsm_subs.h       Tue May 06 13:52:36 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfsm_subs.h,v 1.26 2003/04/24 21:21:07 drochner Exp $  */
+/*     $NetBSD: nfsm_subs.h,v 1.27 2003/05/06 13:52:36 yamt Exp $      */
 
 /*
  * Copyright (c) 1989, 1993
@@ -303,13 +303,6 @@
                        goto nfsmout; \
                } }
 
-#define        nfsm_srvstrsiz(s,m) \
-               { nfsm_dissect(tl,uint32_t *,NFSX_UNSIGNED); \
-               if (((s) = fxdr_unsigned(uint32_t,*tl)) > (m) || (s) <= 0) { \
-                       error = EBADRPC; \
-                       nfsm_reply(0); \
-               } }
-
 #define        nfsm_srvnamesiz(s) \
                { nfsm_dissect(tl,uint32_t *,NFSX_UNSIGNED); \
                if (((s) = fxdr_unsigned(uint32_t,*tl)) > NFS_MAXNAMLEN) \



Home | Main Index | Thread Index | Old Index