Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218942
b: refs/heads/master
c: 8e44a08
h: refs/heads/master
v: v3
  • Loading branch information
jvrao authored and Eric Van Hensbergen committed Oct 28, 2010
1 parent 244595c commit bf8db29
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 8d40fa2492eb3dcf02468eef2f6bba450be42b22
refs/heads/master: 8e44a0805fc9d77475060280136aa491aa7d7060
6 changes: 6 additions & 0 deletions trunk/net/9p/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,12 @@ int p9_client_clunk(struct p9_fid *fid)
struct p9_client *clnt;
struct p9_req_t *req;

if (!fid) {
P9_EPRINTK(KERN_WARNING, "Trying to clunk with NULL fid\n");
dump_stack();
return 0;
}

P9_DPRINTK(P9_DEBUG_9P, ">>> TCLUNK fid %d\n", fid->fid);
err = 0;
clnt = fid->clnt;
Expand Down

0 comments on commit bf8db29

Please sign in to comment.