All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mkfs: rtinherit minval should be 0
@ 2017-04-06 14:34 Jan Tulak
  2017-04-06 15:42 ` Darrick J. Wong
  2017-04-06 16:58 ` Eric Sandeen
  0 siblings, 2 replies; 6+ messages in thread
From: Jan Tulak @ 2017-04-06 14:34 UTC (permalink / raw)
  To: linux-xfs; +Cc: Jan Tulak

As with any other option, rtinherit=[0|1], but minval was incorrectly
set to 1, so it was not possible to disable this option.

Signed-off-by: Jan Tulak <jtulak@redhat.com>
---
 mkfs/xfs_mkfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c
index 6fedc05c..5aac4d1b 100644
--- a/mkfs/xfs_mkfs.c
+++ b/mkfs/xfs_mkfs.c
@@ -290,7 +290,7 @@ struct opt_params dopts = {
 		},
 		{ .index = D_RTINHERIT,
 		  .conflicts = { LAST_CONFLICT },
-		  .minval = 1,
+		  .minval = 0,
 		  .maxval = 1,
 		  .defaultval = 1,
 		},
-- 
2.12.1


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

end of thread, other threads:[~2017-04-07  2:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-06 14:34 [PATCH] mkfs: rtinherit minval should be 0 Jan Tulak
2017-04-06 15:42 ` Darrick J. Wong
2017-04-06 16:58 ` Eric Sandeen
2017-04-06 19:59   ` Jan Tulak
2017-04-07  1:22   ` Dave Chinner
2017-04-07  2:46     ` Eric Sandeen

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.