diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-04-11 19:00:10 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-04-11 19:00:10 -0700 |
commit | bd7e795108ccd8d0f3dc34e16957cbba7e89f342 (patch) | |
tree | 626a73a314584b8b417c3cbee096536c0e1c9f7e /Documentation/nvme/feature-and-quirk-policy.rst | |
parent | ee5fe8ff6d19b35e7547af789cba877dbf04517b (diff) | |
download | linux-bd7e795108ccd8d0f3dc34e16957cbba7e89f342.tar.gz linux-bd7e795108ccd8d0f3dc34e16957cbba7e89f342.tar.bz2 linux-bd7e795108ccd8d0f3dc34e16957cbba7e89f342.zip |
xfs: refactor ->diff_two_keys callsites
Create wrapper functions around ->diff_two_keys so that we don't have to
remember what the return values mean, and adjust some of the code
comments to reflect the longtime code behavior. We're going to
introduce more uses of ->diff_two_keys in the next patch, so reduce the
cognitive load for readers by doing this refactoring now.
Suggested-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'Documentation/nvme/feature-and-quirk-policy.rst')
0 files changed, 0 insertions, 0 deletions