Skip to content
Commit 69624913 authored by Jiri Kosina's avatar Jiri Kosina Committed by Chris Mason
Browse files

btrfs: clear PF_NOFREEZE in cleaner_kthread()



cleaner_kthread() kthread calls try_to_freeze() at the beginning of every
cleanup attempt. This operation can't ever succeed though, as the kthread
hasn't marked itself as freezable.

Before (hopefully eventually) kthread freezing gets converted to fileystem
freezing, we'd rather mark cleaner_kthread() freezable (as my
understanding is that it can generate filesystem I/O during suspend).

Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 0a0e8b89
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment