|
@@ -1701,12 +1701,8 @@ xfsbufd(
|
|
|
struct list_head tmp;
|
|
|
struct blk_plug plug;
|
|
|
|
|
|
- if (unlikely(freezing(current))) {
|
|
|
- set_bit(XBT_FORCE_SLEEP, &target->bt_flags);
|
|
|
+ if (unlikely(freezing(current)))
|
|
|
refrigerator();
|
|
|
- } else {
|
|
|
- clear_bit(XBT_FORCE_SLEEP, &target->bt_flags);
|
|
|
- }
|
|
|
|
|
|
/* sleep for a long time if there is nothing to do. */
|
|
|
if (list_empty(&target->bt_delwri_queue))
|