From: Stephen M. Cameron Date: Thu, 29 May 2014 15:52:41 +0000 (-0500) Subject: hpsa: allow passthru ioctls to work with bidirectional commands X-Git-Tag: omap-for-v3.16/fixes-against-rc1~13^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9233fb10f35ab523f788e635ff07c355bb31bbdd;p=pandora-kernel.git hpsa: allow passthru ioctls to work with bidirectional commands Treat the the data direction bits as a bit mask allowing both READ and WRITE at the same time instead of testing for equality to see if it's a exclusively a READ or a WRITE. Signed-off-by: Stephen M. Cameron Reviewed-by: Mike Miller Reviewed-by: Webb Scales Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed