| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 16/19] mkfs: move spinodes crc check |
| From: | jtulak@xxxxxxxxxx |
| Date: | Thu, 24 Mar 2016 12:15:33 +0100 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1458818136-56043-1-git-send-email-jtulak@xxxxxxxxxx> |
| References: | <1458818136-56043-1-git-send-email-jtulak@xxxxxxxxxx> |
From: Jan Tulak <jtulak@xxxxxxxxxx>
Spinodes crc check is now moved to be in the same way as finobt.
Signed-off-by: Jan Tulak <jtulak@xxxxxxxxxx>
Reviewed-by: Brian Foster <bfoster@xxxxxxxxxx>
---
mkfs/xfs_mkfs.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c
index 7bd9fd5..9a6ae2c 100644
--- a/mkfs/xfs_mkfs.c
+++ b/mkfs/xfs_mkfs.c
@@ -2411,12 +2411,13 @@ _("32 bit Project IDs always enabled on CRC enabled
filesytems\n"));
}
sb_feat.finobt = 0;
}
- }
- if (sb_feat.spinodes && !sb_feat.crcs_enabled) {
- fprintf(stderr,
-_("warning: sparse inodes not supported without CRC support, disabled.\n"));
- sb_feat.spinodes = 0;
+ if (sb_feat.spinodes) {
+ fprintf(stderr,
+ _("warning: sparse inodes not supported without CRC support,
disabled.\n"));
+ sb_feat.spinodes = 0;
+ }
+
}
if (nsflag || nlflag) {
--
2.6.0
|
| Previous by Date: | [PATCH 07/19] mkfs: structify input parameter passing, jtulak |
|---|---|
| Next by Date: | [PATCH 13/19] mkfs: encode conflicts into parsing table, jtulak |
| Previous by Thread: | [PATCH 07/19] mkfs: structify input parameter passing, jtulak |
| Next by Thread: | [PATCH 13/19] mkfs: encode conflicts into parsing table, jtulak |
| Indexes: | [Date] [Thread] [Top] [All Lists] |