On Tuesday, September 04, 2001, Maxim Sobolev wrote:
Content-Description: ASCII C program text
> Index: coda/coda.h
> ===================================================================
> RCS file: /home/ncvs/src/sys/coda/coda.h,v
> retrieving revision 1.9
> diff -d -u -r1.9 coda.h
> --- coda/coda.h       1999/12/29 04:54:30     1.9
> +++ coda/coda.h       2001/09/04 18:46:42
> @@ -41,7 +41,7 @@
>  #ifndef _CODA_HEADER_
>  #define _CODA_HEADER_
>  
> -
> +#define VT_CODA "VT_CODA"
...

   I don't think that the point of this is to use a string like
that, but rather a descriptive string, i.e.

#define VT_FDESCFS      "file-descriptor file system"
#define VT_NFS          "network file system"

   But is it necessary that you really use those defines?  The
idea is not to use them globally.  Perhaps getnewvnode() should
get the string from `mp->mnt_stat.f_mntfromname', instead...

-- 
+-------------------+-------------------------------------------+
| Chris Costello    | As far as we know, our computer has never |
| [EMAIL PROTECTED] | had an undetected error.        - Weisert |
+-------------------+-------------------------------------------+

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to