From: Steve French Date: Mon, 14 Oct 2013 05:44:19 +0000 (-0500) Subject: Fix corrupt SMB2 ioctl requests X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~59^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ff8d45c9dccf0744404d6fe44468ede7c1b9533;p=pandora-kernel.git Fix corrupt SMB2 ioctl requests We were off by one calculating the length of ioctls in some cases because the protocol specification for SMB2 ioctl includes a mininum one byte payload but not all SMB2 ioctl requests actually have a data buffer to send. We were also not zeroing out the return buffer (in case of error this is helpful). Signed-off-by: Steve French --- Reading git-diff-tree failed