Skip to content

Commit

Permalink
Merge branch 'build_fix' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/mfasheh/ocfs2

* 'build_fix' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2:
  ocfs2: fix build error
  • Loading branch information
Linus Torvalds committed Oct 15, 2008
2 parents 5f2434a + 1efd47f commit eae8254
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions fs/ocfs2/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2349,7 +2349,7 @@ static int ocfs2_xattr_bucket_find(struct inode *inode,
*/
ret = ocfs2_read_blocks(inode, xs->bucket.bhs[0]->b_blocknr + 1,
blk_per_bucket - 1, &xs->bucket.bhs[1],
OCFS2_BH_CACHED);
0);
if (ret) {
mlog_errno(ret);
goto out;
Expand Down Expand Up @@ -2426,7 +2426,7 @@ static int ocfs2_iterate_xattr_buckets(struct inode *inode,

for (i = 0; i < num_buckets; i++, blkno += blk_per_bucket) {
ret = ocfs2_read_blocks(inode, blkno, blk_per_bucket,
bucket.bhs, OCFS2_BH_CACHED);
bucket.bhs, 0);
if (ret) {
mlog_errno(ret);
goto out;
Expand Down Expand Up @@ -2694,7 +2694,7 @@ static int ocfs2_xattr_update_xattr_search(struct inode *inode,
ret = ocfs2_read_blocks(inode,
xs->bucket.bhs[0]->b_blocknr + 1,
blk_per_bucket - 1, &xs->bucket.bhs[1],
OCFS2_BH_CACHED);
0);
if (ret) {
mlog_errno(ret);
return ret;
Expand Down Expand Up @@ -2898,8 +2898,7 @@ static int ocfs2_defrag_xattr_bucket(struct inode *inode,
if (!bhs)
return -ENOMEM;

ret = ocfs2_read_blocks(inode, blkno, blk_per_bucket, bhs,
OCFS2_BH_CACHED);
ret = ocfs2_read_blocks(inode, blkno, blk_per_bucket, bhs, 0);
if (ret)
goto out;

Expand Down Expand Up @@ -3153,8 +3152,7 @@ static int ocfs2_read_xattr_bucket(struct inode *inode,

if (!new)
return ocfs2_read_blocks(inode, blkno,
blk_per_bucket, bhs,
OCFS2_BH_CACHED);
blk_per_bucket, bhs, 0);

for (i = 0; i < blk_per_bucket; i++) {
bhs[i] = sb_getblk(inode->i_sb, blkno + i);
Expand Down Expand Up @@ -4101,7 +4099,7 @@ static int ocfs2_xattr_set_entry_in_bucket(struct inode *inode,
ret = ocfs2_read_blocks(inode,
xs->bucket.bhs[0]->b_blocknr + 1,
blk_per_bucket - 1, &xs->bucket.bhs[1],
OCFS2_BH_CACHED);
0);
if (ret) {
mlog_errno(ret);
goto out;
Expand Down

0 comments on commit eae8254

Please sign in to comment.