Make the buffer allocation work for all types of commands, not just read. Change-Id: I72d8f67a724566630e7c4a74759fcb08449f7de4 Signed-off-by: Ben Walker <benjamin.walker@intel.com>