summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-06-03 20:02:45 +0000
committerpfg <pfg@FreeBSD.org>2013-06-03 20:02:45 +0000
commit168748877560341a69fdd938fc3245fe4b2dae0c (patch)
tree18897e1f94b50fa2d3268622910b2a6d451c15f6
parent603fd103e6aec3ea0ab008286b41282c47df6be7 (diff)
downloadFreeBSD-src-168748877560341a69fdd938fc3245fe4b2dae0c.zip
FreeBSD-src-168748877560341a69fdd938fc3245fe4b2dae0c.tar.gz
ext2fs: Small cosmetic fixes.
Make a long macro readable and sort a header. Obtained from: Christoph Mallon MFC after: 3 days
-rw-r--r--sys/fs/ext2fs/ext2_bmap.c2
-rw-r--r--sys/fs/ext2fs/ext2_dinode.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/fs/ext2fs/ext2_bmap.c b/sys/fs/ext2fs/ext2_bmap.c
index ba561c6..27a2bad 100644
--- a/sys/fs/ext2fs/ext2_bmap.c
+++ b/sys/fs/ext2fs/ext2_bmap.c
@@ -47,8 +47,8 @@
#include <fs/ext2fs/inode.h>
#include <fs/ext2fs/ext2fs.h>
-#include <fs/ext2fs/ext2_mount.h>
#include <fs/ext2fs/ext2_extern.h>
+#include <fs/ext2fs/ext2_mount.h>
/*
* Bmap converts the logical block number of a file to its physical block
diff --git a/sys/fs/ext2fs/ext2_dinode.h b/sys/fs/ext2fs/ext2_dinode.h
index 7d97bb8..6a16231 100644
--- a/sys/fs/ext2fs/ext2_dinode.h
+++ b/sys/fs/ext2fs/ext2_dinode.h
@@ -77,7 +77,8 @@
#define EXT3_EPOCH_MASK ((1 << EXT3_EPOCH_BITS) - 1)
#define EXT3_NSEC_MASK (~0UL << EXT3_EPOCH_BITS)
-#define E2DI_HAS_XTIME(ip) (EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, EXT2F_ROCOMPAT_EXTRA_ISIZE))
+#define E2DI_HAS_XTIME(ip) (EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, \
+ EXT2F_ROCOMPAT_EXTRA_ISIZE))
/*
* Structure of an inode on the disk
OpenPOWER on IntegriCloud