Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67689
b: refs/heads/master
c: de986e8
h: refs/heads/master
i:
  67687: 18496e5
v: v3
  • Loading branch information
Wendy Cheng authored and Steven Whitehouse committed Oct 10, 2007
1 parent 4755669 commit 27b1802
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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: 16615be18cadf53ee6f8a4f0bdd647f0753421b1
refs/heads/master: de986e859a29097fb9211b052d86a9a2c868f6cd
8 changes: 4 additions & 4 deletions trunk/fs/gfs2/meta_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,10 @@ void gfs2_meta_cache_flush(struct gfs2_inode *ip)

for (x = 0; x < GFS2_MAX_META_HEIGHT; x++) {
bh_slot = &ip->i_cache[x];
if (!*bh_slot)
break;
brelse(*bh_slot);
*bh_slot = NULL;
if (*bh_slot) {
brelse(*bh_slot);
*bh_slot = NULL;
}
}

spin_unlock(&ip->i_spin);
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/ops_address.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static int gfs2_get_block_noalloc(struct inode *inode, sector_t lblock,
error = gfs2_block_map(inode, lblock, 0, bh_result);
if (error)
return error;
if (bh_result->b_blocknr == 0)
if (!buffer_mapped(bh_result))
return -EIO;
return 0;
}
Expand Down

0 comments on commit 27b1802

Please sign in to comment.