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

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

quota: Fix WARN_ON in lookup_one_len



We should hold i_mutex when looking up quota files for journaled quotas,
otherwise a WARN_ON in lookup_one_len triggers. The fact that we didn't
hold i_mutex previously probably could not lead to a real bug since the
filesystem is just being mounted / remounted read-write and thus the
root directory cannot change anyway but it's definitely cleaner with
i_mutex.

Reported-by: default avatarBastien ROUCARIES <roucaries.bastien@gmail.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 1472da5f
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