summaryrefslogtreecommitdiffstats
path: root/sys/fs/ext2fs/inode.h
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-06-16 16:10:45 +0000
committerpfg <pfg@FreeBSD.org>2013-06-16 16:10:45 +0000
commit5cf909a854b7bc035f981644b2d917685474e997 (patch)
tree547ebe7c9446435ff299c1370d0a7bb7b7c1c370 /sys/fs/ext2fs/inode.h
parent074ee391ff9933c3dab394b927c714ad377a6c44 (diff)
downloadFreeBSD-src-5cf909a854b7bc035f981644b2d917685474e997.zip
FreeBSD-src-5cf909a854b7bc035f981644b2d917685474e997.tar.gz
Re-sort ext2fs headers to make things easier to find.
In the ext2fs driver we have a mixture of headers: - The ext2_ prefixed headers have strong influence from NetBSD and are carry specific ext2/3/4 information. - The unprefixed headers are inspired on UFS and carry implementation specific information. Do some small adjustments so that the information is easier to find coming from either UFS or the NetBSD implementation. MFC after: 3 days
Diffstat (limited to 'sys/fs/ext2fs/inode.h')
-rw-r--r--sys/fs/ext2fs/inode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/ext2fs/inode.h b/sys/fs/ext2fs/inode.h
index 6cb85ca..82525e9 100644
--- a/sys/fs/ext2fs/inode.h
+++ b/sys/fs/ext2fs/inode.h
@@ -41,14 +41,14 @@
#include <sys/lock.h>
#include <sys/queue.h>
-#define NDADDR 12 /* Direct addresses in inode. */
-#define NIADDR 3 /* Indirect addresses in inode. */
-
/*
* This must agree with the definition in <ufs/ufs/dir.h>.
*/
#define doff_t int32_t
+#define NDADDR 12 /* Direct addresses in inode. */
+#define NIADDR 3 /* Indirect addresses in inode. */
+
/*
* The inode is used to describe each active (or recently active) file in the
* EXT2FS filesystem. It is composed of two types of information. The first
OpenPOWER on IntegriCloud