diff options
author | Joel Becker <joel.becker@oracle.com> | 2010-08-16 12:10:17 -0700 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2010-09-10 08:42:48 -0700 |
commit | a33f13efe05192e7a805018a2ce2b2afddd04057 (patch) | |
tree | eb2f8404c82f1464086c4bd3ddef82dcc1db71c8 /fs/mbcache.c | |
parent | 3bdb8efd94a73bb137e3315cd831cbc874052b4b (diff) | |
download | linux-stable-a33f13efe05192e7a805018a2ce2b2afddd04057.tar.gz linux-stable-a33f13efe05192e7a805018a2ce2b2afddd04057.tar.bz2 linux-stable-a33f13efe05192e7a805018a2ce2b2afddd04057.zip |
libfs: Fix shift bug in generic_check_addressable()
generic_check_addressable() erroneously shifts pages down by a block
factor when it should be shifting up. To prevent overflow, we shift
blocks down to pages.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions