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

quota: Properly annotate i_dquot arrays with __rcu



Dquots pointed to from i_dquot arrays in inodes are protected by
dquot_srcu. Annotate them as such and change .get_dquots callback to
return properly annotated pointer to make sparse happy.

Fixes: b9ba6f94 ("quota: remove dqptr_sem")
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 179b8c97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment