Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26715
b: refs/heads/master
c: 343f1fe
h: refs/heads/master
i:
  26713: f17697c
  26711: 71eb071
v: v3
  • Loading branch information
Latchesar Ionkov authored and Linus Torvalds committed May 15, 2006
1 parent 9ebbcc3 commit 59d371c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 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: 3dc7b82ea7649356bf027fba50c16ca50cec31e2
refs/heads/master: 343f1fe6f2e3fb4912db241e639b0721c2e14f2e
21 changes: 9 additions & 12 deletions trunk/fs/9p/fcall.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,23 +98,20 @@ v9fs_t_attach(struct v9fs_session_info *v9ses, char *uname, char *aname,
static void v9fs_t_clunk_cb(void *a, struct v9fs_fcall *tc,
struct v9fs_fcall *rc, int err)
{
int fid;
int fid, id;
struct v9fs_session_info *v9ses;

if (err)
return;

id = 0;
fid = tc->params.tclunk.fid;
kfree(tc);

if (!rc)
return;

v9ses = a;
if (rc->id == RCLUNK)
v9fs_put_idpool(fid, &v9ses->fidpool);
if (rc)
id = rc->id;

kfree(tc);
kfree(rc);
if (id == RCLUNK) {
v9ses = a;
v9fs_put_idpool(fid, &v9ses->fidpool);
}
}

/**
Expand Down

0 comments on commit 59d371c

Please sign in to comment.