Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91836
b: refs/heads/master
c: 4f7874c
h: refs/heads/master
v: v3
  • Loading branch information
Jan Kara committed Apr 17, 2008
1 parent c502406 commit 8d61ba3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5fb28aa25ab0b71af2e441d68e63ad257e610a04
refs/heads/master: 4f7874c868eaedd0e64b2f6c800bc852bdc7f38b
6 changes: 5 additions & 1 deletion trunk/fs/udf/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,12 @@ static int udf_check_anchor_block(struct super_block *sb, sector_t block,
uint16_t ident;
uint32_t location;

if (varconv)
if (varconv) {
if (udf_fixed_to_variable(block) >=
sb->s_bdev->bd_inode->i_size >> sb->s_blocksize_bits)
return 0;
bh = sb_bread(sb, udf_fixed_to_variable(block));
}
else
bh = sb_bread(sb, block);

Expand Down

0 comments on commit 8d61ba3

Please sign in to comment.