diff options
author | Brian Foster <bfoster@redhat.com> | 2019-10-07 21:54:16 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-10-09 17:54:30 +0200 |
commit | aeea4b75f045294e1c026acc380466daa43afc65 (patch) | |
tree | cb1ea331f4b4d12b4467f8518d774ddb260ecb00 /.clang-format | |
parent | xfs: remove broken error handling on failed attr sf to leaf change (diff) | |
download | linux-aeea4b75f045294e1c026acc380466daa43afc65.tar.xz linux-aeea4b75f045294e1c026acc380466daa43afc65.zip |
xfs: move local to extent inode logging into bmap helper
The callers of xfs_bmap_local_to_extents_empty() log the inode
external to the function, yet this function is where the on-disk
format value is updated. Push the inode logging down into the
function itself to help prevent future mistakes.
Note that internal bmap callers track the inode logging flags
independently and thus may log the inode core twice due to this
change. This is harmless, so leave this code around for consistency
with the other attr fork conversion functions.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions