diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:32:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:32:30 -0400 |
commit | 18062a91d2ddc40e19fc674afeb7cad58cfa23ab (patch) | |
tree | 886fe7ec99623767e38ff7fc67a078918338bb3e /fs/jfs/jfs_txnmgr.c | |
parent | be3478ddb8a3902b588c840b42e166a0e64a87b3 (diff) | |
parent | 05ec9e26be1f668ccba4ca54d9a4966c6208c611 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6:
JFS: Fix race waking up jfsIO kernel thread
JFS: use __set_current_state()
Copy i_flags to jfs inode flags on write
JFS: document uid, gid, and umask mount options in jfs.txt
Diffstat (limited to 'fs/jfs/jfs_txnmgr.c')
-rw-r--r-- | fs/jfs/jfs_txnmgr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jfs/jfs_txnmgr.c b/fs/jfs/jfs_txnmgr.c index ce9ee6b4c0f6..25430d0b0d59 100644 --- a/fs/jfs/jfs_txnmgr.c +++ b/fs/jfs/jfs_txnmgr.c | |||
@@ -135,7 +135,7 @@ static inline void TXN_SLEEP_DROP_LOCK(wait_queue_head_t * event) | |||
135 | set_current_state(TASK_UNINTERRUPTIBLE); | 135 | set_current_state(TASK_UNINTERRUPTIBLE); |
136 | TXN_UNLOCK(); | 136 | TXN_UNLOCK(); |
137 | io_schedule(); | 137 | io_schedule(); |
138 | current->state = TASK_RUNNING; | 138 | __set_current_state(TASK_RUNNING); |
139 | remove_wait_queue(event, &wait); | 139 | remove_wait_queue(event, &wait); |
140 | } | 140 | } |
141 | 141 | ||
@@ -2797,7 +2797,7 @@ int jfs_lazycommit(void *arg) | |||
2797 | set_current_state(TASK_INTERRUPTIBLE); | 2797 | set_current_state(TASK_INTERRUPTIBLE); |
2798 | LAZY_UNLOCK(flags); | 2798 | LAZY_UNLOCK(flags); |
2799 | schedule(); | 2799 | schedule(); |
2800 | current->state = TASK_RUNNING; | 2800 | __set_current_state(TASK_RUNNING); |
2801 | remove_wait_queue(&jfs_commit_thread_wait, &wq); | 2801 | remove_wait_queue(&jfs_commit_thread_wait, &wq); |
2802 | } | 2802 | } |
2803 | } while (!kthread_should_stop()); | 2803 | } while (!kthread_should_stop()); |
@@ -2989,7 +2989,7 @@ int jfs_sync(void *arg) | |||
2989 | set_current_state(TASK_INTERRUPTIBLE); | 2989 | set_current_state(TASK_INTERRUPTIBLE); |
2990 | TXN_UNLOCK(); | 2990 | TXN_UNLOCK(); |
2991 | schedule(); | 2991 | schedule(); |
2992 | current->state = TASK_RUNNING; | 2992 | __set_current_state(TASK_RUNNING); |
2993 | } | 2993 | } |
2994 | } while (!kthread_should_stop()); | 2994 | } while (!kthread_should_stop()); |
2995 | 2995 | ||