All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: xfs-oss <xfs@oss.sgi.com>
Subject: [PATCH] xfsprogs: fix inadvertent mkfs default change for projid32bit
Date: Sun, 06 Oct 2013 15:07:20 -0500	[thread overview]
Message-ID: <5251C2F8.80009@redhat.com> (raw)

This commit:

f3edb66a mkfs.xfs: validate options for CRCs up front.

seems to have inadvertently switched to 32bit project IDs by default:

-       int                     projid32bit;
+       int                     projid16bit;
...
-       projid32bit = 0;
+       projid16bit = 0;

Switch back to 16 bit project ID by default, at least until we
intentionally make that change.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---

diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c
index eafbed3..ebab09d 100644
--- a/mkfs/xfs_mkfs.c
+++ b/mkfs/xfs_mkfs.c
@@ -965,7 +965,7 @@ main(
 	textdomain(PACKAGE);
 
 	attrversion = 2;
-	projid16bit = 0;
+	projid16bit = 1;
 	blflag = bsflag = slflag = ssflag = lslflag = lssflag = 0;
 	blocklog = blocksize = 0;
 	sectorlog = lsectorlog = XFS_MIN_SECTORSIZE_LOG;


_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

             reply	other threads:[~2013-10-06 20:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-06 20:07 Eric Sandeen [this message]
2013-10-08  0:37 ` [PATCH] xfsprogs: fix inadvertent mkfs default change for projid32bit Dave Chinner
2013-10-08  0:46   ` Eric Sandeen
2013-10-08  0:59     ` Dave Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5251C2F8.80009@redhat.com \
    --to=sandeen@redhat.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.