commit | 9233fb10f35ab523f788e635ff07c355bb31bbdd | [log] [tgz] |
---|---|---|
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | Thu May 29 10:52:41 2014 -0500 |
committer | Christoph Hellwig <hch@lst.de> | Mon Jun 02 09:54:52 2014 +0200 |
tree | b807ad655c867cb81fac729b08d9e7d544f9c456 | |
parent | 84ce1ee5bf0de5daec3d28d009d74099cee3cf46 [diff] |
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 <scameron@beardog.cce.hp.com> Reviewed-by: Mike Miller <michael.miller@canonical.com> Reviewed-by: Webb Scales <webb.scales@hp.com> Signed-off-by: Christoph Hellwig <hch@lst.de>