Skip to content
Commit a33f13ef authored by Joel Becker's avatar Joel Becker
Browse files

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: default avatarJoel Becker <joel.becker@oracle.com>
parent 3bdb8efd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment