summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sgi.com>2006-01-11 20:49:57 +1100
committerNathan Scott <nathans@sgi.com>2006-01-11 20:49:57 +1100
commitda7f93e9eec0885317351eb8a20cc550ed48f470 (patch)
treeaadc8493c85eea24287223b129b7331551c1c7c9 /fs/xfs/linux-2.6
parentf5e596bbef3b0fa583c66c5a83dc9737c0fe2610 (diff)
downloadblackbird-op-linux-da7f93e9eec0885317351eb8a20cc550ed48f470.tar.gz
blackbird-op-linux-da7f93e9eec0885317351eb8a20cc550ed48f470.zip
[XFS] fix up per-device xfsbufd
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>
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r--fs/xfs/linux-2.6/xfs_buf.c5
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 cb77f99cbef1..6282f034b269 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);
OpenPOWER on IntegriCloud