Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/ufs



Module Name:    src
Committed By:   hannken
Date:           Tue Jul 10 09:50:09 UTC 2007

Modified Files:
        src/sys/ufs/ffs: ffs_inode.c ffs_snapshot.c ffs_vfsops.c
        src/sys/ufs/lfs: lfs_alloc.c lfs_inode.c
        src/sys/ufs/ufs: quota.h ufs_dirhash.c ufs_extattr.c ufs_extern.h
            ufs_inode.c ufs_quota.c ufs_vnops.c

Log Message:
Move `struct dquot' and its supporting functions from quota.h to ufs_quota.c.

- Make quota-internal functions static.
- Clean up declarations in quota.h and ufs_extern.h.  quota.h now has the
  description of quota criterions, on-disk structure, user-kernel interface and
  declaration of init/done functions.  All ufs quota related function
  prototypes go to ufs_extern.h.
- New functions ufsquota_init() and ufsquota_free() create or destroy the
  quota fields of `struct inode'.
- chkdq() and chkiq() always update the quota fields of `struct inode' first.
- Only ufs_access() explicitely calls getinoquota().

No objections on tech-kern@


To generate a diff of this commit:
cvs rdiff -r1.87 -r1.88 src/sys/ufs/ffs/ffs_inode.c
cvs rdiff -r1.44 -r1.45 src/sys/ufs/ffs/ffs_snapshot.c
cvs rdiff -r1.202 -r1.203 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -r1.100 -r1.101 src/sys/ufs/lfs/lfs_alloc.c
cvs rdiff -r1.110 -r1.111 src/sys/ufs/lfs/lfs_inode.c
cvs rdiff -r1.24 -r1.25 src/sys/ufs/ufs/quota.h
cvs rdiff -r1.17 -r1.18 src/sys/ufs/ufs/ufs_dirhash.c
cvs rdiff -r1.14 -r1.15 src/sys/ufs/ufs/ufs_extattr.c
cvs rdiff -r1.52 -r1.53 src/sys/ufs/ufs/ufs_extern.h
cvs rdiff -r1.66 -r1.67 src/sys/ufs/ufs/ufs_inode.c
cvs rdiff -r1.47 -r1.48 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -r1.153 -r1.154 src/sys/ufs/ufs/ufs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index