diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-11-30 20:47:45 +0100 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-12-07 03:45:16 +0100 |
commit | 3e0958be2156d90ef908a1a547b4e27a3ec38da9 (patch) | |
tree | 2d116fb33c148cffe3e143bf2d5594dcd41e9b36 /fs/xfs/xfs_attr_item.c | |
parent | xfs: use xfs_defer_create_done for the relogging operation (diff) | |
download | linux-3e0958be2156d90ef908a1a547b4e27a3ec38da9.tar.xz linux-3e0958be2156d90ef908a1a547b4e27a3ec38da9.zip |
xfs: clean out XFS_LI_DIRTY setting boilerplate from ->iop_relog
Hoist this dirty flag setting to the ->iop_relog callsite to reduce
boilerplate.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_attr_item.c')
-rw-r--r-- | fs/xfs/xfs_attr_item.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_attr_item.c b/fs/xfs/xfs_attr_item.c index e9813fa64461..5d86a4b8b457 100644 --- a/fs/xfs/xfs_attr_item.c +++ b/fs/xfs/xfs_attr_item.c @@ -655,7 +655,6 @@ xfs_attri_item_relog( new_attrp->alfi_attr_filter = old_attrp->alfi_attr_filter; xfs_trans_add_item(tp, &new_attrip->attri_item); - set_bit(XFS_LI_DIRTY, &new_attrip->attri_item.li_flags); return &new_attrip->attri_item; } |