Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 63e727ec authored by David Sterba's avatar David Sterba
Browse files

btrfs: use GFP_KERNEL in btrfs_defrag_file



We can safely use GFP_KERNEL, the function is called from two contexts:

- ioctl handler, called directly, no locks taken
- cleaner thread, running all queued defrag work, outside of any locks

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 3ec83621
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment