commit | d6ab3661020cbf8a8909b49a8e1408d5ae434001 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Thu Jun 08 15:06:28 2017 +0200 |
committer | Jan Kara <jack@suse.cz> | Thu Aug 17 18:59:04 2017 +0200 |
tree | 5607206d8306bd409efa27212911b99fedeb188c | |
parent | 0cff9151d3fa27574c2201377a080e1b9b87b8ba [diff] |
quota: Acquire dqio_sem for reading in vfs_load_quota_inode() vfs_load_quota_inode() needs dqio_sem only for reading. In fact dqio_sem is not needed there at all since the function can be called only during quota on when quota file cannot be modified but let's leave the protection there since it is logical and the path is in no way performance critical. Reviewed-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Jan Kara <jack@suse.cz>