xfs: xfs_trans_alloc_empty
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Jun 2017 13:18:31 +0000 (15:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Jun 2017 10:07:52 +0000 (12:07 +0200)
commite40c145c023db15a0504e95ac442f0e47c0a816d
tree0bec11fba02c7f976c55f05d0b9752d465bb39dd
parent0e542792a046c788f39ab13fcd68c7ba65930407
xfs: xfs_trans_alloc_empty

This is a partial cherry-pick of commit e89c041338
("xfs: implement the GETFSMAP ioctl"), which also adds this helper, and
a great example of why feature patches should be properly split into
their parts.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
[hch: split from the larger patch for -stable]
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h