Source-Changes-HG archive

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

[src/trunk]: src/sys/coda Make file_id unsigned so it does not get sign exten...



details:   https://anonhg.NetBSD.org/src/rev/2fa2af1658bf
branches:  trunk
changeset: 747716:2fa2af1658bf
user:      blymn <blymn%NetBSD.org@localhost>
date:      Mon Sep 28 10:51:35 2009 +0000

description:
Make file_id unsigned so it does not get sign extended when promoted
to a 64bit ino_t.

diffstat:

 sys/coda/coda.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 997a6224bebf -r 2fa2af1658bf sys/coda/coda.h
--- a/sys/coda/coda.h   Mon Sep 28 10:22:07 2009 +0000
+++ b/sys/coda/coda.h   Mon Sep 28 10:51:35 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: coda.h,v 1.14 2007/03/04 06:01:11 christos Exp $ */
+/* $NetBSD: coda.h,v 1.15 2009/09/28 10:51:35 blymn Exp $ */
 
 /*
 
@@ -272,7 +272,7 @@
        short           va_nlink;       /* number of references to file */
        uid_t           va_uid;         /* owner user id */
        gid_t           va_gid;         /* owner group id */
-       long            va_fileid;      /* file id */
+       u_long          va_fileid;      /* file id */
        u_quad_t        va_size;        /* file size in bytes */
        long            va_blocksize;   /* blocksize preferred for i/o */
        struct timespec va_atime;       /* time of last access */



Home | Main Index | Thread Index | Old Index