| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH 03/19] mkfs: Sanitise the superblock feature macros |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Mon, 2 May 2016 18:06:48 -0500 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1461231593-31294-4-git-send-email-jtulak@xxxxxxxxxx> |
| References: | <1461231593-31294-1-git-send-email-jtulak@xxxxxxxxxx> <1461231593-31294-4-git-send-email-jtulak@xxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.0 |
Patch 03/19 fixup:
sb_feat.dirftype should be initialized as true, not initialized
as false and then reset to 1 (sic - true)
Eric Sandeen <sandeen@xxxxxxxxxx>: Properly initialize sb_feat.dirftype
---
diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c
index 963545b..655b3c0 100644
--- a/mkfs/xfs_mkfs.c
+++ b/mkfs/xfs_mkfs.c
@@ -1090,7 +1090,7 @@ main(
.lazy_sb_counters = true,
.projid16bit = false,
.crcs_enabled = true,
- .dirftype = false,
+ .dirftype = true,
.parent_pointers = false,
};
@@ -1109,7 +1109,6 @@ main(
liflag = laflag = lsflag = lsuflag = lsunitflag = ldflag = lvflag = 0;
loginternal = 1;
logagno = logblocks = rtblocks = rtextblocks = 0;
- sb_feat.dirftype = 1; /* inode type information in the dir */
Nflag = nlflag = nsflag = nvflag = 0;
nftype = 0;
dirblocklog = dirblocksize = 0;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 00/19 v2] mkfs cleaning, Eric Sandeen |
|---|---|
| Next by Date: | Re: [PATCH 08/19] mkfs: getbool is redundant, Eric Sandeen |
| Previous by Thread: | Re: [PATCH 00/19 v2] mkfs cleaning, Eric Sandeen |
| Next by Thread: | Re: [PATCH 03/19] mkfs: Sanitise the superblock feature macros, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |