Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46328
b: refs/heads/master
c: 4aa0d23
h: refs/heads/master
v: v3
  • Loading branch information
Dave Kleikamp committed Jan 18, 2007
1 parent bda85f7 commit a8f6aaf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 82d5b9a7c63054a9a2cd838ffd177697f86e7e34
refs/heads/master: 4aa0d230c2cfc1ac4bcf7c5466f9943cf14233a9
2 changes: 1 addition & 1 deletion trunk/fs/jfs/jfs_lock.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ do { \
if (cond) \
break; \
unlock_cmd; \
schedule(); \
io_schedule(); \
lock_cmd; \
} \
current->state = TASK_RUNNING; \
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/jfs/jfs_metapage.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ static inline void __lock_metapage(struct metapage *mp)
set_current_state(TASK_UNINTERRUPTIBLE);
if (metapage_locked(mp)) {
unlock_page(mp->page);
schedule();
io_schedule();
lock_page(mp->page);
}
} while (trylock_metapage(mp));
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/jfs/jfs_txnmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static inline void TXN_SLEEP_DROP_LOCK(wait_queue_head_t * event)
add_wait_queue(event, &wait);
set_current_state(TASK_UNINTERRUPTIBLE);
TXN_UNLOCK();
schedule();
io_schedule();
current->state = TASK_RUNNING;
remove_wait_queue(event, &wait);
}
Expand Down

0 comments on commit a8f6aaf

Please sign in to comment.