Skip to content
Commit 36975616 authored by Jan Kara's avatar Jan Kara
Browse files

ext2: Drop GFP_NOFS use in ext2_get_blocks()



ext2_get_blocks() calls sb_issue_zeroout() with GFP_NOFS flag. However
the call is performed under inode->i_rwsem and
EXT2_I(inode)->i_truncate_mutex neither of which is acquired during
direct fs reclaim. So it is safe to change the gfp mask to GFP_KERNEL.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent dbc056f8
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