summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_discard.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-03-19 08:16:22 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-03-19 08:16:54 -0700
commit4b0bce30f39b7733420bb8b28e340aa91c219bc1 (patch)
tree49ba14d470902a600d6b706cd1c557901ed1e458 /fs/xfs/xfs_discard.c
parenta72e9d8d69e7ca848ddd4c4db72d3ab280c1775d (diff)
xfs: always init bma in xfs_bmapi_write
Always init the tp/ip fields of bma in xfs_bmapi_write so that the bmapi_finish at the bottom never trips over null transaction or inode pointers. Coverity-id: 1443964 Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_discard.c')
0 files changed, 0 insertions, 0 deletions