Home
last modified time | relevance | path

Searched hist:d6ab3661 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/ocfs2/
H A Dquota_local.cd6ab3661 Thu Jun 08 08:06:28 CDT 2017 Jan Kara <jack@suse.cz> 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>
d6ab3661 Thu Jun 08 08:06:28 CDT 2017 Jan Kara <jack@suse.cz> 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>
/openbmc/linux/fs/quota/
H A Ddquot.cd6ab3661 Thu Jun 08 08:06:28 CDT 2017 Jan Kara <jack@suse.cz> 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>