commit | 7025d9ad10a38dadef8b286e0092731c2d3cdc53 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <miklos@szeredi.hu> | Mon Apr 10 22:54:50 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Tue Apr 11 06:18:47 2006 -0700 |
tree | 054f5ce4a0b7a0d3793e66f094af4905a68d1896 | |
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>