diff mbox series

[2/4] xfs/122: mask wonky ioctls

Message ID 156394160665.1850833.14349327556274532970.stgit@magnolia (mailing list archive)
State New, archived
Headers show
Series xfs: fixes and new tests for bulkstat v5 | expand

Commit Message

Darrick J. Wong July 24, 2019, 4:13 a.m. UTC
From: Darrick J. Wong <darrick.wong@oracle.com>

Don't check the structure size of the inogrp/bstat/fsop_bulkreq
structures because they're incorrectly padded.  When we remove the
old typdefs the old filter stops working.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
 tests/xfs/122 |    3 +++
 1 file changed, 3 insertions(+)

Comments

Brian Foster July 31, 2019, 11:43 a.m. UTC | #1
On Tue, Jul 23, 2019 at 09:13:26PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
> 
> Don't check the structure size of the inogrp/bstat/fsop_bulkreq
> structures because they're incorrectly padded.  When we remove the
> old typdefs the old filter stops working.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
> ---

Reviewed-by: Brian Foster <bfoster@redhat.com>

>  tests/xfs/122 |    3 +++
>  1 file changed, 3 insertions(+)
> 
> 
> diff --git a/tests/xfs/122 b/tests/xfs/122
> index 89a39a23..64b63cb1 100755
> --- a/tests/xfs/122
> +++ b/tests/xfs/122
> @@ -148,12 +148,15 @@ xfs_growfs_data_t
>  xfs_growfs_rt_t
>  xfs_bstime_t
>  xfs_bstat_t
> +struct xfs_bstat
>  xfs_fsop_bulkreq_t
> +struct xfs_fsop_bulkreq
>  xfs_icsb_cnts_t
>  xfs_icdinode_t
>  xfs_ictimestamp_t
>  xfs_inobt_rec_incore_t
>  xfs_inogrp_t
> +struct xfs_inogrp
>  xfs_fid2_t
>  xfs_fsop_handlereq_t
>  xfs_fsop_setdm_handlereq_t
>
diff mbox series

Patch

diff --git a/tests/xfs/122 b/tests/xfs/122
index 89a39a23..64b63cb1 100755
--- a/tests/xfs/122
+++ b/tests/xfs/122
@@ -148,12 +148,15 @@  xfs_growfs_data_t
 xfs_growfs_rt_t
 xfs_bstime_t
 xfs_bstat_t
+struct xfs_bstat
 xfs_fsop_bulkreq_t
+struct xfs_fsop_bulkreq
 xfs_icsb_cnts_t
 xfs_icdinode_t
 xfs_ictimestamp_t
 xfs_inobt_rec_incore_t
 xfs_inogrp_t
+struct xfs_inogrp
 xfs_fid2_t
 xfs_fsop_handlereq_t
 xfs_fsop_setdm_handlereq_t