summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-21 20:24:42 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2017-04-25 18:40:42 +0200
commit27af1bbf524459962d1477a38ac6e0b7f79aaecc (patch)
tree8421b1c164281b38deaf5aa7421847344b9abae1 /mm
parentxfs: don't use bool values in trace buffers (diff)
downloadlinux-27af1bbf524459962d1477a38ac6e0b7f79aaecc.tar.xz
linux-27af1bbf524459962d1477a38ac6e0b7f79aaecc.zip
xfs: remove xfs_trans_ail_delete_bulk
xfs_iflush_done uses an on-stack variable length array to pass the log items to be deleted to xfs_trans_ail_delete_bulk. On-stack VLAs are a nasty gcc extension that can lead to unbounded stack allocations, but fortunately we can easily avoid them by simply open coding xfs_trans_ail_delete_bulk in xfs_iflush_done, which is the only caller of it except for the single-item xfs_trans_ail_delete. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions