]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: Add helper function xfs_init_attr_trans
authorAllison Henderson <allison.henderson@oracle.com>
Wed, 11 May 2022 07:01:23 +0000 (17:01 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 11 May 2022 07:01:23 +0000 (17:01 +1000)
commit3d9cd5e99ad791a406e627306452507311c8711b
tree92b071514ea50ca6df0bf37e6f122807b66a0756
parent918d8026df8b02c5bf6454385197454d9fb9197d
xfs: Add helper function xfs_init_attr_trans

Quick helper function to collapse duplicate code to initialize
transactions for attributes

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Suggested-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_attr.c
fs/xfs/libxfs/xfs_attr.h
fs/xfs/xfs_attr_item.c