Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47293
b: refs/heads/master
c: 835d90c
h: refs/heads/master
i:
  47291: ead4144
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Feb 9, 2007
1 parent e71bb48 commit abd6953
Show file tree
Hide file tree
Showing 2 changed files with 3 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: da6e1a32fb8d7539a27f699c8671f64d7fefd0cc
refs/heads/master: 835d90c4218dffe6f9e7ac1ed79795197a4970c4
7 changes: 2 additions & 5 deletions trunk/fs/9p/vfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,17 +585,14 @@ static int v9fs_vfs_mkdir(struct inode *dir, struct dentry *dentry, int mode)
if (IS_ERR(inode)) {
err = PTR_ERR(inode);
inode = NULL;
goto clean_up_fids;
v9fs_fid_destroy(vfid);
goto error;
}

dentry->d_op = &v9fs_dentry_operations;
d_instantiate(dentry, inode);
return 0;

clean_up_fids:
if (vfid)
v9fs_fid_destroy(vfid);

clean_up_dfid:
v9fs_fid_clunk(v9ses, dfid);

Expand Down

0 comments on commit abd6953

Please sign in to comment.