[BACK]Return to xfsquotasstubs.c CVS log [TXT][DIR] Up to [Development] / xfs-linux

File: [Development] / xfs-linux / Attic / xfsquotasstubs.c (download)

Revision 1.8, Fri Jun 9 03:18:45 2000 UTC (17 years, 4 months ago) by mostek
Branch: MAIN
Changes since 1.7: +4 -2 lines

Merge of 2.3.99pre2-xfs:slinx:56126a by ananth.

  delete a couple of include files not really needed that
  cause problems with builds on Redhat 5.2.

/*
 * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
 * 
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of version 2 of the GNU General Public License as
 * published by the Free Software Foundation.
 * 
 * This program is distributed in the hope that it would be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * 
 * Further, this software is distributed without any warranty that it is
 * free of the rightful claim of any third person regarding infringement
 * or the like.  Any license provided herein, whether implied or
 * otherwise, applies only to this software file.  Patent licenses, if
 * any, provided herein do not apply to combinations of this program with
 * other software, or any other product whatsoever.
 * 
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write the Free Software Foundation, Inc., 59
 * Temple Place - Suite 330, Boston MA 02111-1307, USA.
 * 
 * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
 * Mountain View, CA  94043, or:
 * 
 * http://www.sgi.com 
 * 
 * For further information regarding this notice, see: 
 * 
 * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
 */
/*
 *
 * $Header: /oss/CVS/cvs/xfs-linux/Attic/xfsquotasstubs.c,v 1.8 2000/06/09 03:18:45 mostek Exp $
 * $Author: mostek $
 * $Id: xfsquotasstubs.c,v 1.8 2000/06/09 03:18:45 mostek Exp $
 *
 * $Log: xfsquotasstubs.c,v $
 * Revision 1.8  2000/06/09 03:18:45  mostek
 * Merge of 2.3.99pre2-xfs:slinx:56126a by ananth.
 *
 *   delete a couple of include files not really needed that
 *   cause problems with builds on Redhat 5.2.
 *
 * Revision 1.8  2000/03/31 15:11:13  mostek
 * delete a couple of include files not really needed that
 * cause problems with builds on Redhat 5.2.
 *
 * Revision 1.7  2000/03/29 01:45:59  kenmcd
 * Updated copyright and license notices, ready for open source release
 *
 * Revision 1.6  2000/03/25 01:42:41  cattelan
 * Merge of 2.3.42-xfs:slinx:46541a by ananth.
 *
 *   Removed <sys/fs... from include files
 *   This should eliminate the need for the link in pseudo-inc
 *
 * Revision 1.5  2000/03/25 01:29:53  nathans
 * Merge of 2.3.42-xfs:slinx:46428a by ananth.
 *
 *   remove unused include files.
 *
 * Revision 1.6  2000/03/21 01:58:59  cattelan
 * Removed <sys/fs... from include files
 * This should eliminate the need for the link in pseudo-inc
 *
 * Revision 1.5  2000/03/20 07:37:34  nathans
 * remove unused include files.
 *
 * Revision 1.4  2000/01/30 09:59:06  kenmcd
 * Encumbrance review done.
 * Add copyright and license words consistent with GPL.
 * Refer to http://fsg.melbourne.sgi.com/reviews/ for details.
 *
 * There is a slight change in the license terms and conditions words
 * to go with the copyrights, so most of the files are not getting
 * new GPL's, just updated versions ... but there are 20-30 more files
 * here as well.
 *
 * Revision 1.2  1999/09/01 00:35:47  mostek
 * Get rid of warnings (void) arguments.
 *
 */

/*
 * XFS Disk Quota stubs
 */
#include <sys/types.h>
#include <sys/systm.h>
#include <linux/xfs_sema.h>

struct xfs_qm *xfs_Gqm = NULL;
mutex_t	xfs_Gqm_lock;

struct xfs_qm   *xfs_qm_init(void) {return NULL;}

void 		xfs_qm_destroy(void) { return; }
int		xfs_qm_dqflush_all(void) { return nopkg(); }
int		xfs_qm_dqattach(void) { return nopkg(); }
int		xfs_quotactl(void) { return nopkg(); }
int		xfs_qm_dqpurge_all(void) { return nopkg(); }
void		xfs_qm_mount_quotainit(void) { return; }
void		xfs_qm_unmount_quotadestroy(void) { return; }
int		xfs_qm_mount_quotas(void) { return nopkg(); }
int 		xfs_qm_unmount_quotas(void) { return nopkg(); }
void		xfs_qm_dqdettach_inode(void) { return; }
int 		xfs_qm_sync(void) { return nopkg(); }
int		xfs_qm_check_inoquota(void) { return nopkg(); }
int		xfs_qm_check_inoquota2(void) { return nopkg(); }
void		xfs_qm_dqrele_all_inodes(void) { return; }

/*
 * dquot interface
 */
void		xfs_dqlock(void) { return; }
void		xfs_dqunlock(void) { return; }
void		xfs_dqunlock_nonotify(void) { return; }
void		xfs_dqlock2(void) {return;}
void 		xfs_qm_dqput(void) { return; }
void 		xfs_qm_dqrele(void) { return; }
int		xfs_qm_dqid(void) { return -1; }
int		xfs_qm_dqget(void) { return nopkg(); }	
int 		xfs_qm_dqcheck(void) { return nopkg(); }

/*
 * Transactions
 */
void 		xfs_trans_alloc_dqinfo(void) { return; }
void 		xfs_trans_free_dqinfo(void) { return; }
void		xfs_trans_dup_dqinfo(void) { return; }
void		xfs_trans_mod_dquot(void) { return; }
int		xfs_trans_mod_dquot_byino(void) { return nopkg(); }
void		xfs_trans_apply_dquot_deltas(void) { return; }
void		xfs_trans_unreserve_and_mod_dquots(void) { return; }
int		xfs_trans_reserve_quota_nblks(void) { return nopkg(); }
int		xfs_trans_reserve_quota_bydquots(void) { return nopkg(); }
void		xfs_trans_log_dquot(void) { return; }
void		xfs_trans_dqjoin(void) { return; }

/* 
 * Vnodeops Utility Functions
 */

struct xfs_dquot *xfs_qm_vop_chown(void) { return NULL; }
int		xfs_qm_vop_dqalloc(void) { return nopkg(); }
int		xfs_qm_vop_chown_dqalloc(void) { return nopkg(); }
int		xfs_qm_vop_chown_reserve(void) { return nopkg(); }
int		xfs_qm_vop_rename_dqattach(void) { return nopkg(); }
void		xfs_qm_vop_dqattach_and_dqmod_newinode(void) { return; }