]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_admin: correctly parse IO_OPTS parameters
authorCatherine Hoang <catherine.hoang@oracle.com>
Thu, 26 Jan 2023 00:33:10 +0000 (16:33 -0800)
committerCarlos Maiolino <cem@kernel.org>
Fri, 3 Feb 2023 12:55:02 +0000 (13:55 +0100)
commit77e8ce78c111f16105a4cf1b67e8f42f88a383f5
treef60634debc4e9dfc77b0a678f67c17aeb271a0fb
parentd8eab7600f470fbd09013eb90cbc7c5e271da4e5
xfs_admin: correctly parse IO_OPTS parameters

Change exec to eval so that the IO_OPTS parameters are parsed correctly
when the parameters contain quotations.

Fixes: e7cd89b2da72 ("xfs_admin: get UUID of mounted filesystem")
Signed-off-by: Catherine Hoang <catherine.hoang@oracle.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
db/xfs_admin.sh