Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40759
b: refs/heads/master
c: 26d83de
h: refs/heads/master
i:
  40757: addf529
  40755: ae29f53
  40751: 7c49d4f
v: v3
  • Loading branch information
Steven Whitehouse committed Nov 6, 2006
1 parent 4680b37 commit 4f35052
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4a221953ed121692aa25998451a57c7f4be8b4f6
refs/heads/master: 26d83dedf61d26d85f10bc34b92f4de7660fd746
3 changes: 3 additions & 0 deletions trunk/fs/gfs2/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ struct inode *gfs2_inode_lookup(struct super_block *sb, struct gfs2_inum *inum,
struct gfs2_glock *io_gl;
int error;

if (!inode)
return ERR_PTR(-ENOBUFS);

if (inode->i_state & I_NEW) {
struct gfs2_sbd *sdp = GFS2_SB(inode);
umode_t mode = DT2IF(type);
Expand Down

0 comments on commit 4f35052

Please sign in to comment.