diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-04-10 22:54:50 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 06:18:47 -0700 |
commit | 7025d9ad10a38dadef8b286e0092731c2d3cdc53 (patch) | |
tree | 054f5ce4a0b7a0d3793e66f094af4905a68d1896 /kernel/sched.c | |
parent | d3406ffa4af8af1d7c14cff06e003eb0a557d4ad (diff) |
[PATCH] fuse: fix fuse_dev_poll() return value
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>
Diffstat (limited to 'kernel/sched.c')
0 files changed, 0 insertions, 0 deletions