Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165710
b: refs/heads/master
c: 3886de9
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Linus Torvalds committed Sep 24, 2009
1 parent bba428d commit 9893603
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: 458e5ff13e1bed050990d97e9aa55bcdafc951a7
refs/heads/master: 3886de938cc23d5208a34064d8363d6d7b54b461
7 changes: 0 additions & 7 deletions trunk/fs/adfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ static int
adfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh,
int create)
{
if (block < 0)
goto abort_negative;

if (!create) {
if (block >= inode->i_blocks)
goto abort_toobig;
Expand All @@ -34,10 +31,6 @@ adfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh,
/* don't support allocation of blocks yet */
return -EIO;

abort_negative:
adfs_error(inode->i_sb, "block %d < 0", block);
return -EIO;

abort_toobig:
return 0;
}
Expand Down

0 comments on commit 9893603

Please sign in to comment.