| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 17/17] mkfs: move spinodes crc check |
| From: | Jan ÅulÃk <jtulak@xxxxxxxxxx> |
| Date: | Fri, 19 Jun 2015 13:02:06 +0200 |
| Cc: | david@xxxxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1434711726-13092-1-git-send-email-jtulak@xxxxxxxxxx> |
| References: | <1434711726-13092-1-git-send-email-jtulak@xxxxxxxxxx> |
Spinodes crc check is now moved to be in the same way as finobt.
Signed-off-by: Jan ÅulÃk <jtulak@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 2e455db..653fc5b 100644
--- a/mkfs/xfs_mkfs.c
+++ b/mkfs/xfs_mkfs.c
@@ -2347,12 +2347,13 @@ _("32 bit Project IDs always enabled on CRC enabled
filesytems\n"));
_("warning: finobt not supported without CRC support, disabled.\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.1.0
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 13/17] mkfs: encode conflicts into parsing table, Jan ÅulÃk |
|---|---|
| Next by Date: | Re: [PATCH 01/17] xfsprogs: use common code for multi-disk detection, Christoph Hellwig |
| Previous by Thread: | Re: [PATCH 13/17] mkfs: encode conflicts into parsing table, Brian Foster |
| Next by Thread: | Re: [PATCH 17/17] mkfs: move spinodes crc check, Brian Foster |
| Indexes: | [Date] [Thread] [Top] [All Lists] |