diff options
author | Jan Kara <jack@suse.cz> | 2016-11-23 08:04:55 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2016-11-30 02:38:07 -0500 |
commit | c3b004460d77bf3f980d877be539016f2df4df12 (patch) | |
tree | 3000d941e7b3ac2fd3ea20d625a384dc4a28a977 /include/linux/quota.h | |
parent | 5f530de63cfc6ca8571cbdf58af63fb166cc6517 (diff) |
quota: Remove dqonoff_mutex
The only places that were grabbing dqonoff_mutex are functions turning
quotas on and off and these are properly serialized using s_umount
semaphore. Remove dqonoff_mutex.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/quota.h')
-rw-r--r-- | include/linux/quota.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h index 55107a8ff887..b281d198ee5b 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h | |||
@@ -520,7 +520,6 @@ static inline void quota_send_warning(struct kqid qid, dev_t dev, | |||
520 | struct quota_info { | 520 | struct quota_info { |
521 | unsigned int flags; /* Flags for diskquotas on this device */ | 521 | unsigned int flags; /* Flags for diskquotas on this device */ |
522 | struct mutex dqio_mutex; /* lock device while I/O in progress */ | 522 | struct mutex dqio_mutex; /* lock device while I/O in progress */ |
523 | struct mutex dqonoff_mutex; /* Serialize quotaon & quotaoff */ | ||
524 | struct inode *files[MAXQUOTAS]; /* inodes of quotafiles */ | 523 | struct inode *files[MAXQUOTAS]; /* inodes of quotafiles */ |
525 | struct mem_dqinfo info[MAXQUOTAS]; /* Information for each quota type */ | 524 | struct mem_dqinfo info[MAXQUOTAS]; /* Information for each quota type */ |
526 | const struct quota_format_ops *ops[MAXQUOTAS]; /* Operations for each type */ | 525 | const struct quota_format_ops *ops[MAXQUOTAS]; /* Operations for each type */ |