]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit375b4136e3a05345798695a8d6d9b5537bd9f147
treebea1c6da89ad35035211aaadaa4a7b2e9d7c642d
parent425ea40d25709b7bc71afcd285f3e509b225ef8e
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