]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: hoist refcount record merge predicates
authorDarrick J. Wong <djwong@kernel.org>
Wed, 15 Mar 2023 14:55:35 +0000 (15:55 +0100)
committerCarlos Maiolino <cem@kernel.org>
Fri, 17 Mar 2023 10:38:46 +0000 (11:38 +0100)
commitd1dca9f6b365e439878e550ed0c801bbfb6d347b
tree5bebc674e6cfb03d7d7a95c753dc11900d7fb4b5
parentfb084f350b18ce329d6e170e1b94a66f8ec44882
xfs: hoist refcount record merge predicates

Source kernel commit: 9d720a5a658f5135861773f26e927449bef93d61

Hoist these multiline conditionals into separate static inline helpers
to improve readability and set the stage for corruption fixes that will
be introduced in the next patch.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Xiao Yang <yangx.jy@fujitsu.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/xfs_refcount.c