]> err.no Git - linux-2.6/commitdiff
[XFS] fix up per-device xfsbufd
authorChristoph Hellwig <hch@sgi.com>
Wed, 11 Jan 2006 09:49:57 +0000 (20:49 +1100)
committerNathan Scott <nathans@sgi.com>
Wed, 11 Jan 2006 09:49:57 +0000 (20:49 +1100)
SGI-PV: 947098
SGI-Modid: xfs-linux-melb:xfs-kern:203831a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_buf.c

index cb77f99cbef118b9bfd051c51727f27c71f2104e..6282f034b26914aefce7320b355870ded2ba863d 100644 (file)
@@ -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);