sunvdc: Fix off-by-one in generic_request().
authorDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2013 19:49:01 +0000 (11:49 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2013 17:21:11 +0000 (09:21 -0800)
commitc8c7c761580de1576c7fe03a8aae5009983107a1
tree9b34ca467bd3bb0936a253b0e2110095ec948f4b
parent496064cd2a5ec740671a522e5fa154ce91dfb012
sunvdc: Fix off-by-one in generic_request().

[ Upstream commit f4d9605434c0fd4cc8639bf25cfc043418c52362 ]

The 'operations' bitmap corresponds one-for-one with the operation
codes, no adjustment is necessary.

Reported-by: Mark Kettenis <mark.kettenis@xs4all.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/sunvdc.c