summaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jfs/jfs_lock.h')
-rw-r--r--fs/jfs/jfs_lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/jfs_lock.h b/fs/jfs/jfs_lock.h
index 7d78e83d7c40..df48ece4b7a3 100644
--- a/fs/jfs/jfs_lock.h
+++ b/fs/jfs/jfs_lock.h
@@ -42,7 +42,7 @@ do { \
if (cond) \
break; \
unlock_cmd; \
- schedule(); \
+ io_schedule(); \
lock_cmd; \
} \
current->state = TASK_RUNNING; \