diff options
author | Miklos Szeredi | 2006-01-17 07:14:34 +0100 |
---|---|---|
committer | Linus Torvalds | 2006-01-17 08:15:30 +0100 |
commit | 9ba7cbba100bdaca7316d71d6c6298e61191f8b2 (patch) | |
tree | 999e964132731388ff312df78623020600fe32e2 /fs/fuse/inode.c | |
parent | [PATCH] fuse: introduce list for requests under I/O (diff) | |
download | kernel-qcow2-linux-9ba7cbba100bdaca7316d71d6c6298e61191f8b2.tar.gz kernel-qcow2-linux-9ba7cbba100bdaca7316d71d6c6298e61191f8b2.tar.xz kernel-qcow2-linux-9ba7cbba100bdaca7316d71d6c6298e61191f8b2.zip |
[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>
Diffstat (limited to 'fs/fuse/inode.c')
-rw-r--r-- | fs/fuse/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index d7aaffe979dd..d6a09fdaa941 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -200,6 +200,7 @@ static void fuse_put_super(struct super_block *sb) spin_lock(&fuse_lock); fc->mounted = 0; + fc->connected = 0; /* Flush all readers on this fs */ wake_up_all(&fc->waitq); up_write(&fc->sbput_sem); |