diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-02-02 06:07:39 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-02-02 06:07:39 -0800 |
| commit | df38988ca7f60177ffa147e009e7d80bdeb9ad48 (patch) | |
| tree | 861002be437b92a0bde4da91907a3d6063cdb3ca /include/linux | |
| parent | 9a747377a61ae6f6493b2c03555d0783f9454839 (diff) | |
[PATCH] quota semaphore fix
The second quota locking fix. Sorry, I seem to have misplaced the
changelog.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/quota.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h index e5b1e2187156..e1c097e338d9 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h @@ -280,7 +280,8 @@ struct quota_format_type { struct quota_info { unsigned int flags; /* Flags for diskquotas on this device */ struct semaphore dqio_sem; /* lock device while I/O in progress */ - struct rw_semaphore dqoff_sem; /* serialize quota_off() and quota_on() on device and ops using quota_info struct, pointers from inode to dquots */ + struct semaphore dqonoff_sem; /* Serialize quotaon & quotaoff */ + struct rw_semaphore dqptr_sem; /* serialize ops using quota_info struct, pointers from inode to dquots */ struct file *files[MAXQUOTAS]; /* fp's to quotafiles */ struct mem_dqinfo info[MAXQUOTAS]; /* Information for each quota type */ struct quota_format_ops *ops[MAXQUOTAS]; /* Operations for each type */ |
