xfs: increase rename inode reservation
authorAllison Henderson <allison.henderson@oracle.com>
Tue, 25 Oct 2022 19:16:27 +0000 (12:16 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 26 Oct 2022 20:02:24 +0000 (13:02 -0700)
commite07ee6fe21f47cfd72ae566395c67a80e7c66163
treed62e02b8fa1f0c6740b6a6252ea66115ae52113f
parentd08af40340cad0e025d643c3982781a8f99d5032
xfs: increase rename inode reservation

xfs_rename can update up to 5 inodes: src_dp, target_dp, src_ip, target_ip
and wip.  So we need to increase the inode reservation to match.

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/libxfs/xfs_trans_resv.c
fs/xfs/xfs_inode.c