Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54554
b: refs/heads/master
c: 82f703b
h: refs/heads/master
v: v3
  • Loading branch information
Dmitriy Monakhov authored and Linus Torvalds committed May 8, 2007
1 parent e4d01ea commit e79bebe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: 1368c4f2482c9e06bcb297217433818b171cc9e3
refs/heads/master: 82f703bb8cb2732b4437a9f555a1be564e9e71c2
2 changes: 1 addition & 1 deletion trunk/fs/freevxfs/vxfs_bmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ vxfs_bmap_indir(struct inode *ip, long indir, int size, long block)

bp = sb_bread(ip->i_sb,
indir + (i / VXFS_TYPED_PER_BLOCK(ip->i_sb)));
if (!buffer_mapped(bp))
if (!bp || !buffer_mapped(bp))
return 0;

typ = ((struct vxfs_typed *)bp->b_data) +
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/freevxfs/vxfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ vxfs_blkiget(struct super_block *sbp, u_long extent, ino_t ino)
offset = ((ino % (sbp->s_blocksize / VXFS_ISIZE)) * VXFS_ISIZE);
bp = sb_bread(sbp, block);

if (buffer_mapped(bp)) {
if (bp && buffer_mapped(bp)) {
struct vxfs_inode_info *vip;
struct vxfs_dinode *dip;

Expand Down

0 comments on commit e79bebe

Please sign in to comment.