public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfsprogs: fix inadvertent mkfs default change for projid32bit
@ 2013-10-06 20:07 Eric Sandeen
  2013-10-08  0:37 ` Dave Chinner
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Sandeen @ 2013-10-06 20:07 UTC (permalink / raw)
  To: xfs-oss

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-08  0:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-06 20:07 [PATCH] xfsprogs: fix inadvertent mkfs default change for projid32bit Eric Sandeen
2013-10-08  0:37 ` Dave Chinner
2013-10-08  0:46   ` Eric Sandeen
2013-10-08  0:59     ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox