Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41107
b: refs/heads/master
c: 3cce485
h: refs/heads/master
i:
  41105: ca4cb9a
  41103: 6edd0db
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Nov 29, 2006
1 parent c38f739 commit 9df07f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 967bf623e9f5eecfb056b1ba7e0efd74a21c9c3a
refs/heads/master: 3cce4856ff3dfa663b1a168dab48120d70820da6
8 changes: 4 additions & 4 deletions trunk/kernel/kmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,14 +307,14 @@ int call_usermodehelper_pipe(char *path, char **argv, char **envp,
return 0;

f = create_write_pipe();
if (!f)
return -ENOMEM;
if (IS_ERR(f))
return PTR_ERR(f);
*filp = f;

f = create_read_pipe(f);
if (!f) {
if (IS_ERR(f)) {
free_write_pipe(*filp);
return -ENOMEM;
return PTR_ERR(f);
}
sub_info.stdin = f;

Expand Down

0 comments on commit 9df07f3

Please sign in to comment.