diff options
Diffstat (limited to 'ufs/inode.c')
-rw-r--r-- | ufs/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ufs/inode.c b/ufs/inode.c index 2965114f..fe5abbb9 100644 --- a/ufs/inode.c +++ b/ufs/inode.c @@ -683,6 +683,8 @@ diskfs_S_file_get_storage_info (struct protid *cred, (((i + 1) * sblock->fs_bsize > np->allocsize) ? np->allocsize - i * sblock->fs_bsize : sblock->fs_bsize); + start <<= log2_dev_blocks_per_dev_bsize; + length <<= log2_dev_blocks_per_dev_bsize; if (num_runs == 0 || run->start + run->length != start) *run++ = (struct store_run){ start, length }; else |