projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e89bc61
)
[XFS] Make xfsbufd threads freezable
author
Rafael J. Wysocki
<
[email protected]
>
Fri, 7 Dec 2007 03:09:02 +0000
(14:09 +1100)
committer
Lachlan McIlroy
<
[email protected]
>
Mon, 10 Dec 2007 02:47:36 +0000
(13:47 +1100)
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 <
[email protected]
>
Signed-off-by: David Chinner <
[email protected]
>
Signed-off-by: Lachlan McIlroy <
[email protected]
>
fs/xfs/linux-2.6/xfs_buf.c
patch
|
blob
|
history
diff --git
a/fs/xfs/linux-2.6/xfs_buf.c
b/fs/xfs/linux-2.6/xfs_buf.c
index 43d6c7a290e2725e1c40fe6fc686c9ea4d362dc3..a49dd8d4b06974c9a9b8b20ca19bc0663dfe0471 100644
(file)
--- a/
fs/xfs/linux-2.6/xfs_buf.c
+++ b/
fs/xfs/linux-2.6/xfs_buf.c
@@
-1743,6
+1743,8
@@
xfsbufd(
current->flags |= PF_MEMALLOC;
+ set_freezable();
+
do {
if (unlikely(freezing(current))) {
set_bit(XBT_FORCE_SLEEP, &target->bt_flags);