X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fquota.h;h=ac5b90f4f25645dd241665220fc248573a42e284;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=506d52452e98904ed5e19ad23fe2a2924d381e45;hpb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;p=linux-2.6.git diff --git a/include/linux/quota.h b/include/linux/quota.h index 506d52452..ac5b90f4f 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h @@ -45,7 +45,6 @@ typedef __kernel_uid32_t qid_t; /* Type in which we store ids in memory */ typedef __u64 qsize_t; /* Type in which we store sizes */ -extern spinlock_t dq_list_lock; extern spinlock_t dq_data_lock; /* Size of blocks in which are counted size limits */ @@ -286,7 +285,8 @@ struct quota_info { struct semaphore dqio_sem; /* lock device while I/O in progress */ 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 inode *files[MAXQUOTAS]; /* inodes of quotafiles */ + struct vfsmount *mnt[MAXQUOTAS]; /* mountpoint entries of filesystems with quota files */ struct mem_dqinfo info[MAXQUOTAS]; /* Information for each quota type */ struct quota_format_ops *ops[MAXQUOTAS]; /* Operations for each type */ };