Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ext2fs make E2MAXSYMLINKLEN just alias for EXT2_MAXS...
details: https://anonhg.NetBSD.org/src/rev/d73776120530
branches: trunk
changeset: 816978:d73776120530
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Thu Aug 04 17:50:51 2016 +0000
description:
make E2MAXSYMLINKLEN just alias for EXT2_MAXSYMLINKLEN, they are the same
diffstat:
sys/ufs/ext2fs/ext2fs_dinode.h | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r b4ed779aa2e2 -r d73776120530 sys/ufs/ext2fs/ext2fs_dinode.h
--- a/sys/ufs/ext2fs/ext2fs_dinode.h Thu Aug 04 17:47:47 2016 +0000
+++ b/sys/ufs/ext2fs/ext2fs_dinode.h Thu Aug 04 17:50:51 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ext2fs_dinode.h,v 1.33 2016/08/04 17:47:48 jdolecek Exp $ */
+/* $NetBSD: ext2fs_dinode.h,v 1.34 2016/08/04 17:50:51 jdolecek Exp $ */
/*
* Copyright (c) 1982, 1989, 1993
@@ -105,6 +105,7 @@
#define EXT2FS_NIADDR 3 /* Indirect addresses in inode. */
#define EXT2_MAXSYMLINKLEN ((EXT2FS_NDADDR+EXT2FS_NIADDR) * sizeof (uint32_t))
+#define E2MAXSYMLINKLEN EXT2_MAXSYMLINKLEN
struct ext2fs_dinode {
uint16_t e2di_mode; /* 0: IFMT, permissions; see below. */
@@ -142,9 +143,6 @@
uint32_t e2di_projid; /* 156: project id (not implemented) (ext4) */
};
-/* XXX how does this differ from EXT2_MAXSYMLINKLEN above? */
-#define E2MAXSYMLINKLEN ((EXT2FS_NDADDR + EXT2FS_NIADDR) * sizeof(uint32_t))
-
#define i_e2fs_mode i_din.e2fs_din->e2di_mode
#define i_e2fs_uid i_din.e2fs_din->e2di_uid
#define i_e2fs_size i_din.e2fs_din->e2di_size
Home |
Main Index |
Thread Index |
Old Index