git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usb: gadget: f_mass_storage: Use "bool" instead of "int" in fsg_module_parameters
[pandora-kernel.git]
/
fs
/
autofs4
/
inode.c
diff --git
a/fs/autofs4/inode.c
b/fs/autofs4/inode.c
index
8179f1a
..
7b5293e
100644
(file)
--- a/
fs/autofs4/inode.c
+++ b/
fs/autofs4/inode.c
@@
-292,7
+292,7
@@
int autofs4_fill_super(struct super_block *s, void *data, int silent)
printk("autofs: could not open pipe file descriptor\n");
goto fail_dput;
}
- if (
!pipe->f_op || !pipe->f_op->write
)
+ if (
autofs_prepare_pipe(pipe) < 0
)
goto fail_fput;
sbi->pipe = pipe;
sbi->pipefd = pipefd;