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

quota: Set nofs allocation context when acquiring dqio_sem



dqio_sem can be acquired during inode reclaim through dquot_drop() ->
dqput() -> dquot_release() -> write_file_info() context. In some cases
(most notably through dquot_get_next_id()) it can be acquired without
holding dquot->dq_lock (which already sets nofs allocation context). So
we need to set nofs allocation context when acquiring it as well.

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