xfs: use memset to initialize xfs_scrub_agfl_info
authorEric Sandeen <sandeen@redhat.com>
Thu, 22 Feb 2018 22:41:25 +0000 (14:41 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 22 Feb 2018 22:41:25 +0000 (14:41 -0800)
commit86516eff3b09a5fd17e81d50925bbccc6a36beed
tree5741c22fcd0ad28df935eaa1fc9dbede7b34c91f
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
xfs: use memset to initialize xfs_scrub_agfl_info

Apparently different gcc versions have competing and
incompatible notions of how to initialize at declaration,
so just give up and fall back to the time-tested memset().

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/scrub/agheader.c