xfs: sanitize remount options
authorEric Sandeen <sandeen@sandeen.net>
Tue, 1 Mar 2016 22:56:31 +0000 (09:56 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 1 Mar 2016 22:56:31 +0000 (09:56 +1100)
commita08ee40a79653d082911cab9fbeff94baa7714cb
treeac2c13750973966703b784ed6bc7499ccab07939
parent2e74af0e118992e62062a6f0666edcac6d64afdc
xfs: sanitize remount options

Perform basic sanitization of remount options by
passing the option string and a dummy mount structure
through xfs_parseargs and returning the result.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_super.c