hpsa: allow passthru ioctls to work with bidirectional commands
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 <fcc9df7f1d62c98ed1e7091f4fa112f895d521f5@beardog.cce.hp.com>
Reviewed-by: Mike Miller <bdf4fdd17013aceb90ab5f9402a89d93d3b175f9@canonical.com>
Reviewed-by: Webb Scales <9e4adae5467e71301d70e36765c60dd734d04ca7@hp.com>
Signed-off-by: Christoph Hellwig <923f7720577207a44b32e59bbfbea59d27f1ae8e@lst.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs