projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rk: revert 20f3d0b+v3.0.66 to v3.0
[firefly-linux-kernel-4.4.55.git]
/
fs
/
autofs4
/
inode.c
diff --git
a/fs/autofs4/inode.c
b/fs/autofs4/inode.c
index 7c26678e2cac9e018d779393bad6f43f0fe76797..180fa2425e49310e9674a227c13297a1718f53fa 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 (
autofs_prepare_pipe(pipe) < 0
)
+ if (
!pipe->f_op || !pipe->f_op->write
)
goto fail_fput;
sbi->pipe = pipe;
sbi->pipefd = pipefd;