/* $OpenBSD: ufs_quota_stub.c,v 1.5 2008/01/05 19:49:26 otto Exp $ */ #include #include #include #include #include #include #include #include #include #include #include #include #include #ifndef QUOTA int getinoquota(struct inode *ip) { return (0); } int ufs_quota_alloc_blocks2(struct inode *ip, daddr64_t change, struct ucred *cred, enum ufs_quota_flags flags) { return (0); } int ufs_quota_free_blocks2(struct inode *ip, daddr64_t change, struct ucred *cred, enum ufs_quota_flags flags) { return (0); } int ufs_quota_alloc_inode2(struct inode *ip, struct ucred *cred, enum ufs_quota_flags flags) { return (0); } int ufs_quota_free_inode2(struct inode *ip, struct ucred *cred, enum ufs_quota_flags flags) { return (0); } int quotaoff(struct proc *p, struct mount *mp, int flags) { return (0); } int qsync(struct mount *mp) { return (0); } int ufs_quotactl(struct mount *mp, int a, uid_t u, caddr_t addr, struct proc *p) { return (EOPNOTSUPP); } void ufs_quota_init(void) { } int ufs_quota_delete(struct inode *ip) { return (0); } #endif