From: Miklos Szeredi Date: Tue, 11 Apr 2006 05:54:50 +0000 (-0700) Subject: [PATCH] fuse: fix fuse_dev_poll() return value X-Git-Tag: v2.6.17-rc2~155 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7025d9ad10a38dadef8b286e0092731c2d3cdc53;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed