diff options
author | Jan Kara <jack@suse.cz> | 2012-04-25 21:15:53 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2012-05-15 23:34:39 +0200 |
commit | a80b12c3d08dbbf15e6a551e481c32a2df4911f3 (patch) | |
tree | 364989f0fc990496820296b5fc6b655e29416c14 /fs/ext3 | |
parent | f9ef178412cab442719c9ffdc659933f5f2fa87e (diff) | |
download | op-kernel-dev-a80b12c3d08dbbf15e6a551e481c32a2df4911f3.zip op-kernel-dev-a80b12c3d08dbbf15e6a551e481c32a2df4911f3.tar.gz |
quota: Get rid of nested I_MUTEX_QUOTA locking subclass
So far i_mutex was ranking above dqonoff_mutex and i_mutex on quota files
was special and ranking below dqonoff_mutex (and several other locks).
However there's no real need for i_mutex on quota files to be special.
IO on quota files is serialized by dqio_mutex anyway so we don't need to
take i_mutex when writing to quota files. Other places where we take i_mutex
on quota file can accomodate standard i_mutex lock ranking, we only need
to change the lock ranking to be dqonoff_mutex > i_mutex which is a matter
of changing documentation because there's no place which would enforce
ordering in the other direction.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext3')
0 files changed, 0 insertions, 0 deletions