aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_buf.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2007-12-06 22:09:02 -0500
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2007-12-09 21:47:36 -0500
commit978c7b2ff49597ab76ff7529a933bd366941ac25 (patch)
tree4695a237af4c1dffe439888fd922a87bd4b33147 /fs/xfs/linux-2.6/xfs_buf.c
parente89bc612d61edbcefaeb6f2244f86c0f3ec89d23 (diff)
[XFS] Make xfsbufd threads freezable
Fix breakage caused by commit 831441862956fffa17b9801db37e6ea1650b0f69 that did not introduce the necessary call to set_freezable() in xfs/linux-2.6/xfs_buf.c . SGI-PV: 974224 SGI-Modid: xfs-linux-melb:xfs-kern:30203a Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_buf.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_buf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
index 43d6c7a290e2..a49dd8d4b069 100644
--- a/fs/xfs/linux-2.6/xfs_buf.c
+++ b/fs/xfs/linux-2.6/xfs_buf.c
@@ -1743,6 +1743,8 @@ xfsbufd(
1743 1743
1744 current->flags |= PF_MEMALLOC; 1744 current->flags |= PF_MEMALLOC;
1745 1745
1746 set_freezable();
1747
1746 do { 1748 do {
1747 if (unlikely(freezing(current))) { 1749 if (unlikely(freezing(current))) {
1748 set_bit(XBT_FORCE_SLEEP, &target->bt_flags); 1750 set_bit(XBT_FORCE_SLEEP, &target->bt_flags);