[BACK]Return to ufs_quota_stub.c CVS log [TXT][DIR] Up to [local] / sys / ufs / ufs

Annotation of sys/ufs/ufs/ufs_quota_stub.c, Revision 1.1

1.1     ! nbrk        1: /*     $OpenBSD: ufs_quota_stub.c,v 1.4 2005/07/03 20:14:03 drahn Exp $        */
        !             2:
        !             3: #include <sys/param.h>
        !             4: #include <sys/kernel.h>
        !             5: #include <sys/systm.h>
        !             6: #include <sys/namei.h>
        !             7: #include <sys/malloc.h>
        !             8: #include <sys/file.h>
        !             9: #include <sys/proc.h>
        !            10: #include <sys/vnode.h>
        !            11: #include <sys/mount.h>
        !            12:
        !            13: #include <ufs/ufs/quota.h>
        !            14: #include <ufs/ufs/inode.h>
        !            15: #include <ufs/ufs/ufsmount.h>
        !            16: #include <ufs/ufs/ufs_extern.h>
        !            17:
        !            18: #ifndef QUOTA
        !            19:
        !            20: int
        !            21: getinoquota(struct inode *ip) {
        !            22:        return (0);
        !            23: }
        !            24:
        !            25: int
        !            26: ufs_quota_alloc_blocks2(struct inode *ip, daddr_t change,
        !            27:     struct ucred *cred, enum ufs_quota_flags flags) {
        !            28:        return (0);
        !            29: }
        !            30:
        !            31: int
        !            32: ufs_quota_free_blocks2(struct inode *ip, daddr_t change,
        !            33:     struct ucred *cred, enum ufs_quota_flags flags) {
        !            34:        return (0);
        !            35: }
        !            36:
        !            37: int
        !            38: ufs_quota_alloc_inode2(struct inode *ip, struct ucred *cred,
        !            39:     enum ufs_quota_flags flags) {
        !            40:        return (0);
        !            41: }
        !            42:
        !            43: int
        !            44: ufs_quota_free_inode2(struct inode *ip, struct ucred *cred,
        !            45:     enum ufs_quota_flags flags) {
        !            46:        return (0);
        !            47: }
        !            48:
        !            49: int
        !            50: quotaoff(struct proc *p, struct mount *mp, int flags) {
        !            51:        return (0);
        !            52: }
        !            53:
        !            54: int
        !            55: qsync(struct mount *mp) {
        !            56:        return (0);
        !            57: }
        !            58:
        !            59: int
        !            60: ufs_quotactl(struct mount *mp, int a, uid_t u, caddr_t addr, struct proc *p) {
        !            61:        return (EOPNOTSUPP);
        !            62: }
        !            63:
        !            64: void
        !            65: ufs_quota_init(void) {
        !            66: }
        !            67:
        !            68: int
        !            69: ufs_quota_delete(struct inode *ip) {
        !            70:        return (0);
        !            71: }
        !            72:
        !            73: #endif

CVSweb