quota: Acquire dqio_sem for reading in vfs_load_quota_inode()
commitd6ab3661020cbf8a8909b49a8e1408d5ae434001
authorJan Kara <jack@suse.cz>
Thu, 8 Jun 2017 13:06:28 +0000 (8 15:06 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Aug 2017 16:59:04 +0000 (17 18:59 +0200)
tree5607206d8306bd409efa27212911b99fedeb188c
parent0cff9151d3fa27574c2201377a080e1b9b87b8ba
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>
fs/ocfs2/quota_local.c
fs/quota/dquot.c