diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_buf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c index cb77f99..6282f03 100644 --- a/fs/xfs/linux-2.6/xfs_buf.c +++ b/fs/xfs/linux-2.6/xfs_buf.c @@ -1649,14 +1649,13 @@ xfsbufd_wakeup( int priority, gfp_t mask) { - xfs_buftarg_t *btp, *n; + xfs_buftarg_t *btp; spin_lock(&xfs_buftarg_lock); - list_for_each_entry_safe(btp, n, &xfs_buftarg_list, bt_list) { + list_for_each_entry(btp, &xfs_buftarg_list, bt_list) { if (test_bit(XBT_FORCE_SLEEP, &btp->bt_flags)) continue; set_bit(XBT_FORCE_FLUSH, &btp->bt_flags); - barrier(); wake_up_process(btp->bt_task); } spin_unlock(&xfs_buftarg_lock); |