Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218958
b: refs/heads/master
c: 9856af8
h: refs/heads/master
v: v3
  • Loading branch information
Aneesh Kumar K.V authored and Eric Van Hensbergen committed Oct 28, 2010
1 parent 07d2b5b commit 954944d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: f5fc6145f385a6287d3d63ee5cf3499ef038c699
refs/heads/master: 9856af8b535aaf51d95dab2087e79508f551fbb8
4 changes: 3 additions & 1 deletion trunk/fs/9p/vfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ static struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry,

result = v9fs_fid_add(dentry, fid);
if (result < 0)
goto error;
goto error_iput;

inst_out:
if (v9ses->cache)
Expand All @@ -1048,6 +1048,8 @@ static struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry,
d_add(dentry, inode);
return NULL;

error_iput:
iput(inode);
error:
p9_client_clunk(fid);

Expand Down

0 comments on commit 954944d

Please sign in to comment.