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>
Thu, 28 Feb 2013 14:32:26 +0000 (06:32 -0800)
commitddab81f4d0998efd4d3e288a26379fb4957cb5f7
treed489dad2826eb16af2cc4f675cf6fa3473d5e859
parent131fb7cce88c8c953429ecee478477db81727273
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