diff options
author | Jan Kara <jack@suse.cz> | 2016-11-23 16:04:55 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2016-11-30 10:38:07 +0300 |
commit | c3b004460d77bf3f980d877be539016f2df4df12 (patch) | |
tree | 3000d941e7b3ac2fd3ea20d625a384dc4a28a977 /include/linux/quota.h | |
parent | 5f530de63cfc6ca8571cbdf58af63fb166cc6517 (diff) | |
download | linux-c3b004460d77bf3f980d877be539016f2df4df12.tar.xz |
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, struct quota_info { unsigned int flags; /* Flags for diskquotas on this device */ struct mutex dqio_mutex; /* lock device while I/O in progress */ - struct mutex dqonoff_mutex; /* Serialize quotaon & quotaoff */ struct inode *files[MAXQUOTAS]; /* inodes of quotafiles */ struct mem_dqinfo info[MAXQUOTAS]; /* Information for each quota type */ const struct quota_format_ops *ops[MAXQUOTAS]; /* Operations for each type */ |