Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31364
b: refs/heads/master
c: 184d7d2
h: refs/heads/master
v: v3
  • Loading branch information
Florin Malita authored and Mark Fasheh committed Jun 29, 2006
1 parent 1f09c17 commit 2a2b322
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: 784270435b001164054e803421a624ef1098519d
refs/heads/master: 184d7d20d352c7374f70ebca7468dc8cd5cc618a
9 changes: 1 addition & 8 deletions trunk/fs/ocfs2/aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,16 +558,9 @@ static int ocfs2_direct_IO_get_blocks(struct inode *inode, sector_t iblock,
u64 vbo_max; /* file offset, max_blocks from iblock */
u64 p_blkno;
int contig_blocks;
unsigned char blocksize_bits;
unsigned char blocksize_bits = inode->i_sb->s_blocksize_bits;
unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits;

if (!inode || !bh_result) {
mlog(ML_ERROR, "inode or bh_result is null\n");
return -EIO;
}

blocksize_bits = inode->i_sb->s_blocksize_bits;

/* This function won't even be called if the request isn't all
* nicely aligned and of the right size, so there's no need
* for us to check any of that. */
Expand Down

0 comments on commit 2a2b322

Please sign in to comment.