blob: dbb955cf2c19464b7f3e0930cfc03fb71b4231ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Index: vserver-sources-2.6.16_2.1.1/block/cfq-iosched.c
===================================================================
--- vserver-sources-2.6.16_2.1.1.orig/block/cfq-iosched.c
+++ vserver-sources-2.6.16_2.1.1/block/cfq-iosched.c
@@ -1757,7 +1757,7 @@ static void cfq_prio_boost(struct cfq_qu
static inline pid_t cfq_queue_pid(struct task_struct *task, int rw)
{
if (task->xid)
- return task->xid + 2^16;
+ return task->xid + (1 << 16);
if (rw == READ || process_sync(task))
return task->pid;
|