]> err.no Git - linux-2.6/commit
[PATCH] fuse: extend semantics of connected flag
authorMiklos Szeredi <miklos@szeredi.hu>
Tue, 17 Jan 2006 06:14:34 +0000 (22:14 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Jan 2006 07:15:30 +0000 (23:15 -0800)
commit9ba7cbba100bdaca7316d71d6c6298e61191f8b2
tree999e964132731388ff312df78623020600fe32e2
parentd77a1d5b611742c538364f041ff4610d27b14fe7
[PATCH] fuse: extend semantics of connected flag

The ->connected flag for a fuse_conn object previously only indicated whether
the device file for this connection is currently open or not.

Change it's meaning so that it indicates whether the connection is active or
not: now either umount or device release will clear the flag.

The separate ->mounted flag is still needed for handling background requests.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/fuse/dev.c
fs/fuse/fuse_i.h
fs/fuse/inode.c