Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319959
b: refs/heads/master
c: 6ed6a72
h: refs/heads/master
i:
  319957: 89861c4
  319955: afd87c3
  319951: 509d739
v: v3
  • Loading branch information
Vladimir Serbinenko authored and Linus Torvalds committed Jul 31, 2012
1 parent 45c6110 commit 55d6973
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 8dccaf0607b3e047680952d0baf4da0486fbbcc1
refs/heads/master: 6ed6a722f9abac25b0549e7507a2b745ede4475c
3 changes: 2 additions & 1 deletion trunk/fs/minix/itree_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ static int block_to_path(struct inode * inode, long block, int offsets[DEPTH])
if (block < 0) {
printk("MINIX-fs: block_to_path: block %ld < 0 on dev %s\n",
block, bdevname(sb->s_bdev, b));
} else if (block >= (minix_sb(inode->i_sb)->s_max_size/sb->s_blocksize)) {
} else if ((u64)block * (u64)sb->s_blocksize >=
minix_sb(sb)->s_max_size) {
if (printk_ratelimit())
printk("MINIX-fs: block_to_path: "
"block %ld too big on dev %s\n",
Expand Down

0 comments on commit 55d6973

Please sign in to comment.