aboutsummaryrefslogtreecommitdiff
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 df48ece4b7a..ecf04882265 100644
--- a/fs/jfs/jfs_lock.h
+++ b/fs/jfs/jfs_lock.h
@@ -45,7 +45,7 @@ do { \
io_schedule(); \
lock_cmd; \
} \
- current->state = TASK_RUNNING; \
+ __set_current_state(TASK_RUNNING); \
remove_wait_queue(&wq, &__wait); \
} while (0)