On Thu, Jun 28, 2018 at 12:36:22PM -0400, Brian Foster wrote: > xfs_dquot_disk_alloc() receives a transaction from the caller and > passes a local dfops along to xfs_bmapi_write(). If we attach this > dfops to the transaction, we have to make sure to clear it before > returning to avoid invalid access of stack memory. > > Since xfs_qm_dqread_alloc() is the only caller, pull dfops into the > caller and attach it to the transaction to eliminate this pattern > entirely. > > Signed-off-by: Brian Foster <bfoster@xxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html