linux/fs/fuse
Miklos Szeredi 33649c91a3 [PATCH] fuse: ensure FLUSH reaches userspace
All POSIX locks owned by the current task are removed on close().  If the
FLUSH request resulting initiated by close() fails to reach userspace, there
might be locks remaining, which cannot be removed.

The only reason it could fail, is if allocating the request fails.  In this
case use the request reserved for RELEASE, or if that is currently used by
another FLUSH, wait for it to become available.

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-06-25 10:01:19 -07:00
..
control.c [PATCH] fuse: add control filesystem 2006-06-25 10:01:19 -07:00
dev.c [PATCH] fuse: ensure FLUSH reaches userspace 2006-06-25 10:01:19 -07:00
dir.c [PATCH] fuse: no backgrounding on interrupt 2006-06-25 10:01:19 -07:00
file.c [PATCH] fuse: ensure FLUSH reaches userspace 2006-06-25 10:01:19 -07:00
fuse_i.h [PATCH] fuse: ensure FLUSH reaches userspace 2006-06-25 10:01:19 -07:00
inode.c [PATCH] fuse: add POSIX file locking support 2006-06-25 10:01:19 -07:00
Makefile [PATCH] fuse: add control filesystem 2006-06-25 10:01:19 -07:00