projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4c458b
)
fuse: fix bad return value in fuse_file_poll()
author
Miklos Szeredi
<mszeredi@suse.cz>
Tue, 30 Jun 2009 18:06:24 +0000
(20:06 +0200)
committer
Miklos Szeredi
<mszeredi@suse.cz>
Tue, 30 Jun 2009 18:06:24 +0000
(20:06 +0200)
Fix fuse_file_poll() which returned a -errno value instead of a poll
mask.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: stable@kernel.org
fs/fuse/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/fuse/file.c
b/fs/fuse/file.c
index fce6ce694fdee3c4d6764c1dff661de755de675d..cbc464043b6f02f1383be3153e24b73b2e8f4875 100644
(file)
--- a/
fs/fuse/file.c
+++ b/
fs/fuse/file.c
@@
-1922,7
+1922,7
@@
unsigned fuse_file_poll(struct file *file, poll_table *wait)
req = fuse_get_req(fc);
if (IS_ERR(req))
- return P
TR_ERR(req)
;
+ return P
OLLERR
;
req->in.h.opcode = FUSE_POLL;
req->in.h.nodeid = ff->nodeid;