Commit 7523d834 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

NVMe: Fix off-by-one when filling in PRP lists



If the last element in the PRP list fits on the end of the page, there's
no need to allocate an extra page to put that single element in.  It can
fit on the end of the page.

Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
parent ac88c36a
Supports Markdown
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