diff mbox series

[09/10] xfs_io: parent command is not experts-only

Message ID 167657880376.3477097.9371089403493745661.stgit@magnolia (mailing list archive)
State Superseded
Headers show
Series xfsprogs: actually use getparent ioctl | expand

Commit Message

Darrick J. Wong Feb. 16, 2023, 9:05 p.m. UTC
From: Darrick J. Wong <djwong@kernel.org>

This command isn't dangerous, so don't make it experts-only.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
 io/parent.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/io/parent.c b/io/parent.c
index 694c0839..36522f26 100644
--- a/io/parent.c
+++ b/io/parent.c
@@ -275,6 +275,5 @@  parent_init(void)
 	parent_cmd.oneline = _("print parent inodes");
 	parent_cmd.help = parent_help;
 
-	if (expert)
-		add_command(&parent_cmd);
+	add_command(&parent_cmd);
 }