diff options
author | Jan Kara <jack@suse.cz> | 2017-06-08 15:39:48 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-08-17 19:52:48 +0300 |
commit | bc8230ee8e2ba967af780cdaf2dcc0f8e5eb45ca (patch) | |
tree | e35a0236c766c6e9db88548fb8ff0dc7861119e2 /include/linux/quota.h | |
parent | aae4e7a8bc44722fe70d58920a36916b1043195e (diff) | |
download | linux-bc8230ee8e2ba967af780cdaf2dcc0f8e5eb45ca.tar.xz |
quota: Convert dqio_mutex to rwsem
Convert dqio_mutex to rwsem and call it dqio_sem. No functional changes
yet.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/quota.h')
-rw-r--r-- | include/linux/quota.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h index bfd077ca6ac3..3a6df7461642 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h @@ -521,7 +521,7 @@ 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 rw_semaphore dqio_sem; /* Lock quota file while I/O in progress */ 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 */ |