diff options
Diffstat (limited to 'kernel/kmod.c')
-rw-r--r-- | kernel/kmod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kmod.c b/kernel/kmod.c index 90d7af1c1655..2989f67c4446 100644 --- a/kernel/kmod.c +++ b/kernel/kmod.c | |||
@@ -417,12 +417,12 @@ int call_usermodehelper_stdinpipe(struct subprocess_info *sub_info, | |||
417 | { | 417 | { |
418 | struct file *f; | 418 | struct file *f; |
419 | 419 | ||
420 | f = create_write_pipe(); | 420 | f = create_write_pipe(0); |
421 | if (IS_ERR(f)) | 421 | if (IS_ERR(f)) |
422 | return PTR_ERR(f); | 422 | return PTR_ERR(f); |
423 | *filp = f; | 423 | *filp = f; |
424 | 424 | ||
425 | f = create_read_pipe(f); | 425 | f = create_read_pipe(f, 0); |
426 | if (IS_ERR(f)) { | 426 | if (IS_ERR(f)) { |
427 | free_write_pipe(*filp); | 427 | free_write_pipe(*filp); |
428 | return PTR_ERR(f); | 428 | return PTR_ERR(f); |