android_kernel_xiaomi_sm7250/fs/fuse
Miklos Szeredi 7025d9ad10 [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>
2006-04-11 06:18:47 -07:00
..
dev.c [PATCH] fuse: fix fuse_dev_poll() return value 2006-04-11 06:18:47 -07:00
dir.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
file.c [PATCH] fuse: fix oops in fuse_send_readpages() 2006-04-11 06:18:47 -07:00
fuse_i.h [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
inode.c [PATCH] fuse: fix async read for legacy filesystems 2006-02-01 08:53:09 -08:00
Makefile [PATCH] FUSE - file operations 2005-09-09 14:03:45 -07:00