diff options
author | Dave Chinner <dchinner@redhat.com> | 2025-09-18 01:12:53 +0300 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2025-09-23 16:12:37 +0300 |
commit | bc7d684fea18cc48c3630d2b7f1789000ff2df5b (patch) | |
tree | f80a35e7f5a0e60fb53d7fc83739289db09d4c32 /tools/docs/lib/parse_data_structs.py | |
parent | fc0d192303bd385ac24dc52eb31ceb6ca7e027d0 (diff) | |
download | linux-bc7d684fea18cc48c3630d2b7f1789000ff2df5b.tar.xz |
xfs: rearrange code in xfs_inode_item_precommit
There are similar extsize checks and updates done inside and outside
the inode item lock, which could all be done under a single top
level logic branch outside the ili_lock. The COW extsize fixup can
potentially miss updating the XFS_ILOG_CORE in ili_fsync_fields, so
moving this code up above the ili_fsync_fields update could also be
considered a fix.
Further, to make the next change a bit cleaner, move where we
calculate the on-disk flag mask to after we attach the cluster
buffer to the the inode log item.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions