diff options
author | Miklos Szeredi | 2006-01-17 07:14:31 +0100 |
---|---|---|
committer | Linus Torvalds | 2006-01-17 08:15:30 +0100 |
commit | d77a1d5b611742c538364f041ff4610d27b14fe7 (patch) | |
tree | c18cf2c112ad17e07a3e0d0459c55f04b257e3e3 /fs/fuse/inode.c | |
parent | [PATCH] fuse: introduce unified request state (diff) | |
download | kernel-qcow2-linux-d77a1d5b611742c538364f041ff4610d27b14fe7.tar.gz kernel-qcow2-linux-d77a1d5b611742c538364f041ff4610d27b14fe7.tar.xz kernel-qcow2-linux-d77a1d5b611742c538364f041ff4610d27b14fe7.zip |
[PATCH] fuse: introduce list for requests under I/O
Create a new list for requests in the process of being transfered to/from
userspace. This will be needed to be able to abort all requests even those
currently under I/O
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 ceee75df7b32..d7aaffe979dd 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -382,6 +382,7 @@ static struct fuse_conn *new_conn(void) init_waitqueue_head(&fc->waitq); INIT_LIST_HEAD(&fc->pending); INIT_LIST_HEAD(&fc->processing); + INIT_LIST_HEAD(&fc->io); INIT_LIST_HEAD(&fc->unused_list); INIT_LIST_HEAD(&fc->background); sema_init(&fc->outstanding_sem, 1); /* One for INIT */ |