summaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1_netlink.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-11-07 17:27:34 +0100
committerJens Axboe <axboe@kernel.dk>2017-11-10 19:53:25 -0700
commit715ea9e09dc81f18cad5ed64800f49b1c4c444df (patch)
tree3eadd248dd7ad63c25613593c8cc3a7683c3b72a /drivers/w1/w1_netlink.h
parent24b0b58c5b4a9f6f4bbd1c1efd5afb9a565da3ea (diff)
downloadlinux-715ea9e09dc81f18cad5ed64800f49b1c4c444df.tar.bz2
nvme: fix and clarify the check for missing metadata
Update the check in nvme_setup_rw for missing metadata so that it is together with the other metadata handling, does not contain impossible to reach conditions and warns if we get an impossible requests for a (non-PI) metadata-enabled namespace when CONFIG_BLK_DEV_INTEGRITY is not set. Also add a little helper that checks if a given metadata configuration contains protection information Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Javier González <jg@lightnvm.io> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/w1/w1_netlink.h')
0 files changed, 0 insertions, 0 deletions