diskio: add a paranoia cast
authorH. Peter Anvin <hpa@zytor.com>
Sat, 17 Jul 2010 19:40:01 +0000 (12:40 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 17 Jul 2010 19:40:01 +0000 (12:40 -0700)
commit9c2baed55c657e68b5d2aa7de7557eccfc74eb6b
treeaddecbba0805d9e417ae8a3608571a91f9779ce3
parent8cca6fd29bb7613f5ba6acb1b740d13f5b6ac01d
diskio: add a paranoia cast

Make sure we don't overflow the shift, even though that should never
be possible.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/diskio.c