Skip to content
Commit 8bcbe313 authored by Zhen Lei's avatar Zhen Lei Committed by Dan Williams
Browse files

device-dax: delete a redundancy check in dev_dax_validate_align()



After we have done the alignment check for the length of each range, the
alignment check for dev_dax_size(dev_dax) is no longer needed, because it
get the sum of the length of each range.

Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20201120092057.2144-1-thunder.leizhen@huawei.com
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 1aa57431
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment