xfs: clean up icreate quota reservation calls
authorDarrick J. Wong <djwong@kernel.org>
Sat, 23 Jan 2021 00:48:34 +0000 (16:48 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 3 Feb 2021 17:18:49 +0000 (09:18 -0800)
commitad4a74739708e193c21245dae908ff50f72ff207
treebea1c6da89ad35035211aaadaa4a7b2e9d7c642d
parent35b1101099e85af74a46b8e36f4d1fdac0367ffd
xfs: clean up icreate quota reservation calls

Create a proper helper so that inode creation calls can reserve quota
with a dedicated function.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
fs/xfs/xfs_inode.c
fs/xfs/xfs_quota.h
fs/xfs/xfs_symlink.c
fs/xfs/xfs_trans_dquot.c