Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ufs Make filehandles on UFS based filesystems use pr...



details:   https://anonhg.NetBSD.org/src/rev/22eb9d10561e
branches:  trunk
changeset: 795953:22eb9d10561e
user:      martin <martin%NetBSD.org@localhost>
date:      Wed May 14 13:46:19 2014 +0000

description:
Make filehandles on UFS based filesystems use proper 64bit inodes.
32bit restriction noticed by Taylor R Campbell.

diffstat:

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

diffs (18 lines):

diff -r d2c2a80a39dd -r 22eb9d10561e sys/ufs/ufs/inode.h
--- a/sys/ufs/ufs/inode.h       Wed May 14 09:03:09 2014 +0000
+++ b/sys/ufs/ufs/inode.h       Wed May 14 13:46:19 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inode.h,v 1.66 2014/05/08 08:21:53 hannken Exp $       */
+/*     $NetBSD: inode.h,v 1.67 2014/05/14 13:46:19 martin Exp $        */
 
 /*
  * Copyright (c) 1982, 1989, 1993
@@ -295,7 +295,7 @@
 struct ufid {
        u_int16_t ufid_len;     /* Length of structure. */
        u_int16_t ufid_pad;     /* Force 32-bit alignment. */
-       u_int32_t ufid_ino;     /* File number (ino). */
+       ino_t     ufid_ino;     /* File number (ino). */
        int32_t   ufid_gen;     /* Generation number. */
 };
 #endif /* _KERNEL */



Home | Main Index | Thread Index | Old Index