summaryrefslogtreecommitdiffstats
path: root/sys/gnu/fs/xfs/xfs_dir2_trace.c
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2006-06-09 06:04:06 +0000
committerrodrigc <rodrigc@FreeBSD.org>2006-06-09 06:04:06 +0000
commit7ee1f8e3abaeaea1d95c31dda7d337dd102d5062 (patch)
tree3870274154c262dd1aabe979005608f7e5f40b7d /sys/gnu/fs/xfs/xfs_dir2_trace.c
parentd9025257105d594ccc8026d06d50b5f0aad1dff9 (diff)
downloadFreeBSD-src-7ee1f8e3abaeaea1d95c31dda7d337dd102d5062.zip
FreeBSD-src-7ee1f8e3abaeaea1d95c31dda7d337dd102d5062.tar.gz
Sync XFS for FreeBSD tree with newer changes from SGI XFS for Linux tree.
Improve support for writing to XFS partitions. Work done by: Russell Cattelan <cattelan at xfs dot org>
Diffstat (limited to 'sys/gnu/fs/xfs/xfs_dir2_trace.c')
-rw-r--r--sys/gnu/fs/xfs/xfs_dir2_trace.c50
1 files changed, 15 insertions, 35 deletions
diff --git a/sys/gnu/fs/xfs/xfs_dir2_trace.c b/sys/gnu/fs/xfs/xfs_dir2_trace.c
index 296b7b8..c626943 100644
--- a/sys/gnu/fs/xfs/xfs_dir2_trace.c
+++ b/sys/gnu/fs/xfs/xfs_dir2_trace.c
@@ -1,53 +1,33 @@
/*
- * Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved.
+ * Copyright (c) 2000-2003,2005 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
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms 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.
+ * 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. See the
+ * GNU General Public License for more details.
*
- * 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/
- */
-
-/*
- * xfs_dir2_trace.c
- * Tracing for xfs v2 directories.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "xfs.h"
-
-#include "xfs_macros.h"
+#include "xfs_fs.h"
#include "xfs_types.h"
#include "xfs_inum.h"
#include "xfs_dir.h"
#include "xfs_dir2.h"
+#include "xfs_da_btree.h"
#include "xfs_bmap_btree.h"
-#include "xfs_attr_sf.h"
#include "xfs_dir_sf.h"
#include "xfs_dir2_sf.h"
+#include "xfs_attr_sf.h"
#include "xfs_dinode.h"
#include "xfs_inode.h"
-#include "xfs_da_btree.h"
#include "xfs_dir2_trace.h"
#ifdef XFS_DIR2_TRACE
@@ -212,7 +192,7 @@ xfs_dir2_trace_args_s(
(void *)((unsigned long)(args->inumber >> 32)),
(void *)((unsigned long)(args->inumber & 0xFFFFFFFF)),
(void *)args->dp, (void *)args->trans,
- (void *)(unsigned long)args->justcheck, (void *)(long)s, 0);
+ (void *)(unsigned long)args->justcheck, (void *)(long)s, NULL);
}
void
OpenPOWER on IntegriCloud