Skip to content

Commit

Permalink
Merge branch 'linux-nvme:master' into add-test-case-for-nvme-id-ns-fl…
Browse files Browse the repository at this point in the history
…bas-to-lbaf-inuse
  • Loading branch information
benchuanggli authored Apr 2, 2024
2 parents f2c31f8 + f671ff4 commit 26c95fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nvme/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ static inline void nvme_feature_decode_namespace_write_protect(__u32 value,

static inline void nvme_id_ns_flbas_to_lbaf_inuse(__u8 flbas, __u8 *lbaf_inuse)
{
*lbaf_inuse = ((NVME_FLBAS_HIGHER(flbas) >> 1) |
*lbaf_inuse = ((NVME_FLBAS_HIGHER(flbas) << 4) |
NVME_FLBAS_LOWER(flbas));
}

Expand Down

0 comments on commit 26c95fe

Please sign in to comment.