]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb2ccaf4872175a7a0660556360b8765c9b4f7f1d
treed62e02b8fa1f0c6740b6a6252ea66115ae52113f
parent1afae05ae54d5982ac13b16b7b2b619e609d0e30
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