git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3406ff
)
[PATCH] fuse: fix fuse_dev_poll() return value
author
Miklos Szeredi
<miklos@szeredi.hu>
Tue, 11 Apr 2006 05:54:50 +0000
(22:54 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:47 +0000
(06:18 -0700)
fuse_dev_poll() returned an error value instead of a poll mask. Luckily (or
unluckily) -ENODEV does contain the POLLERR bit.
There's also a race if filesystem is unmounted between fuse_get_conn() and
spin_lock(), in which case this event will be missed by poll().
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/fuse/dev.c
patch
|
blob
|
history
diff --cc
fs/fuse/dev.c
Simple merge