Commit 914744e2 authored by Linus Torvalds's avatar Linus Torvalds

Don't do a 64-bit divide when a simple shift will do..

parent b79f413c
......@@ -78,7 +78,7 @@ udf_get_last_block(struct super_block *sb)
if (ret) /* Hard Disk */
{
lblock = bdev->bd_inode->i_size / sb->s_blocksize;
lblock = bdev->bd_inode->i_size >> sb->s_blocksize_bits;
}
if (lblock)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment