[PATCH] fs: fix-up schedule_timeout() usage
[pandora-kernel.git] / fs / xfs / linux-2.6 / time.h
index 6c6fd0f..b0d2873 100644 (file)
@@ -39,8 +39,7 @@ typedef struct timespec timespec_t;
 
 static inline void delay(long ticks)
 {
-       set_current_state(TASK_UNINTERRUPTIBLE);
-       schedule_timeout(ticks);
+       schedule_timeout_uninterruptible(ticks);
 }
 
 static inline void nanotime(struct timespec *tvp)