Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192354
b: refs/heads/master
c: a5990ea
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and J. Bruce Fields committed Mar 24, 2010
1 parent 3ed00b0 commit 3c0bd65
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: 91885258e8343bb65c08f668d7e6c16563eb4284
refs/heads/master: a5990ea1254cd186b38744507aeec3136a0c1c95
4 changes: 3 additions & 1 deletion trunk/net/sunrpc/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -1244,8 +1244,10 @@ static int content_open(struct inode *inode, struct file *file,
if (!cd || !try_module_get(cd->owner))
return -EACCES;
han = __seq_open_private(file, &cache_content_op, sizeof(*han));
if (han == NULL)
if (han == NULL) {
module_put(cd->owner);
return -ENOMEM;
}

han->cd = cd;
return 0;
Expand Down

0 comments on commit 3c0bd65

Please sign in to comment.