diff options
| author | Caleb Sander Mateos <csander@purestorage.com> | 2026-04-15 15:08:47 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-04-17 14:23:26 -0600 |
| commit | 2f5015461984caa8ebf265a60b22f38c94d9c70a (patch) | |
| tree | e76409dd333e835275c137746769edea16d904fb /include/linux/timerqueue.h | |
| parent | 64b437c4a96ae088d46c7d9930c35e77ee1b5b21 (diff) | |
t10-pi: reduce ref tag code duplication
t10_pi_ref_tag() and ext_pi_ref_tag() are identical except for the final
truncation of the ref tag to 32 or 48 bits. Factor out a helper
full_pi_ref_tag() to return the untruncated ref tag and use it in
t10_pi_ref_tag() and ext_pi_ref_tag().
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260415210847.1730016-1-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
