diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-01-24 02:53:35 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-01-28 04:50:31 -0500 |
commit | d38ecf935fcb10264a6bc190855d9595165e6eeb (patch) | |
tree | 64e3146ef76678ad3ae8f75c32df9f25ea470953 /fs/ioprio.c | |
parent | fd0928df98b9578be8a786ac0cb78a47a5e17a20 (diff) |
io context sharing: preliminary support
Detach task state from ioc, instead keep track of how many processes
are accessing the ioc.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/ioprio.c')
-rw-r--r-- | fs/ioprio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ioprio.c b/fs/ioprio.c index a7600401ecf7..06b5d97c5fdd 100644 --- a/fs/ioprio.c +++ b/fs/ioprio.c | |||
@@ -54,7 +54,6 @@ static int set_task_ioprio(struct task_struct *task, int ioprio) | |||
54 | break; | 54 | break; |
55 | } | 55 | } |
56 | task->io_context = ioc; | 56 | task->io_context = ioc; |
57 | ioc->task = task; | ||
58 | } while (1); | 57 | } while (1); |
59 | 58 | ||
60 | if (!err) { | 59 | if (!err) { |