|
@@ -73,12 +73,6 @@ static loff_t ol_dqblk_off(struct super_block *sb, int c, int off)
|
|
|
ol_dqblk_block_off(sb, c, off);
|
|
|
}
|
|
|
|
|
|
-/* Compute block number from given offset */
|
|
|
-static inline unsigned int ol_dqblk_file_block(struct super_block *sb, loff_t off)
|
|
|
-{
|
|
|
- return off >> sb->s_blocksize_bits;
|
|
|
-}
|
|
|
-
|
|
|
static inline unsigned int ol_dqblk_block_offset(struct super_block *sb, loff_t off)
|
|
|
{
|
|
|
return off & ((1 << sb->s_blocksize_bits) - 1);
|