vfs: remove extraneous NULL d_inode check from do_filp_open
[linux-2.6-block.git] / kernel / sched_fair.c
index 804a411838f12e68690ff9db41796aa4f2a3eefe..5bedf6e3ebf36e0ed7dc477dde9317fa3f5ec7e4 100644 (file)
@@ -1955,7 +1955,7 @@ static void task_fork_fair(struct task_struct *p)
        struct rq *rq = this_rq();
        unsigned long flags;
 
-       spin_lock_irqsave(&rq->lock, flags);
+       raw_spin_lock_irqsave(&rq->lock, flags);
 
        if (unlikely(task_cpu(p) != this_cpu))
                __set_task_cpu(p, this_cpu);
@@ -1975,7 +1975,7 @@ static void task_fork_fair(struct task_struct *p)
                resched_task(rq->curr);
        }
 
-       spin_unlock_irqrestore(&rq->lock, flags);
+       raw_spin_unlock_irqrestore(&rq->lock, flags);
 }
 
 /*