diff options
Diffstat (limited to 'fs/udf/partition.c')
| -rw-r--r-- | fs/udf/partition.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/udf/partition.c b/fs/udf/partition.c index 2dfe4be2eeb2..63610f026ae1 100644 --- a/fs/udf/partition.c +++ b/fs/udf/partition.c | |||
| @@ -66,7 +66,8 @@ uint32_t udf_get_pblock_virt15(struct super_block *sb, uint32_t block, | |||
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { | 68 | if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { |
| 69 | loc = le32_to_cpu(((__le32 *)iinfo->i_ext.i_data)[block]); | 69 | loc = le32_to_cpu(((__le32 *)(iinfo->i_ext.i_data + |
| 70 | vdata->s_start_offset))[block]); | ||
| 70 | goto translate; | 71 | goto translate; |
| 71 | } | 72 | } |
| 72 | index = (sb->s_blocksize - vdata->s_start_offset) / sizeof(uint32_t); | 73 | index = (sb->s_blocksize - vdata->s_start_offset) / sizeof(uint32_t); |
