commit | a33f13efe05192e7a805018a2ce2b2afddd04057 | [log] [tgz] |
---|---|---|
author | Joel Becker <joel.becker@oracle.com> | Mon Aug 16 12:10:17 2010 -0700 |
committer | Joel Becker <joel.becker@oracle.com> | Fri Sep 10 08:42:48 2010 -0700 |
tree | eb2f8404c82f1464086c4bd3ddef82dcc1db71c8 | |
parent | 3bdb8efd94a73bb137e3315cd831cbc874052b4b [diff] |
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>