NVMe: Initialize iod nents to 0
authorKeith Busch <keith.busch@intel.com>
Tue, 6 Nov 2012 18:59:23 +0000 (11:59 -0700)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 13 Nov 2012 14:13:50 +0000 (09:13 -0500)
For commands that do not map a scatter list, we need to initilaize the iod's
number of sg entries (nents) to 0 and not unmap in this case.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>

No differences found