xfs_error.h (a844f4510dce23c07f3923cb42138f5fdd745017) xfs_error.h (7b71876980d87c8f237b94d8529ee7fcc05ec2d9)
1/*
1/*
2 * Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
2 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
3 * All Rights Reserved.
3 *
4 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of version 2 of the GNU General Public License as
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation.
7 *
7 * published by the Free Software Foundation.
8 *
8 * This program is distributed in the hope that it would be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9 * This program is distributed in the hope that it would be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
11 *
13 *
12 * Further, this software is distributed without any warranty that it is
13 * free of the rightful claim of any third person regarding infringement
14 * or the like. Any license provided herein, whether implied or
15 * otherwise, applies only to this software file. Patent licenses, if
16 * any, provided herein do not apply to combinations of this program with
17 * other software, or any other product whatsoever.
18 *
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, write the Free Software Foundation, Inc., 59
21 * Temple Place - Suite 330, Boston MA 02111-1307, USA.
22 *
23 * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
24 * Mountain View, CA 94043, or:
25 *
26 * http://www.sgi.com
27 *
28 * For further information regarding this notice, see:
29 *
30 * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write the Free Software Foundation,
16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31 */
32#ifndef __XFS_ERROR_H__
33#define __XFS_ERROR_H__
34
35#define prdev(fmt,targ,args...) \
17 */
18#ifndef __XFS_ERROR_H__
19#define __XFS_ERROR_H__
20
21#define prdev(fmt,targ,args...) \
36 printk("XFS: device %s- " fmt "\n", XFS_BUFTARG_NAME(targ), ## args)
22 printk("XFS: device %s - " fmt "\n", XFS_BUFTARG_NAME(targ), ## args)
37
38#define XFS_ERECOVER 1 /* Failure to recover log */
39#define XFS_ELOGSTAT 2 /* Failure to stat log in user space */
40#define XFS_ENOLOGSPACE 3 /* Reservation too large */
41#define XFS_ENOTSUP 4 /* Operation not supported */
42#define XFS_ENOLSN 5 /* Can't find the lsn you asked for */
43#define XFS_ENOTFOUND 6
44#define XFS_ENOTXFS 7 /* Not XFS filesystem */

--- 159 unchanged lines hidden ---
23
24#define XFS_ERECOVER 1 /* Failure to recover log */
25#define XFS_ELOGSTAT 2 /* Failure to stat log in user space */
26#define XFS_ENOLOGSPACE 3 /* Reservation too large */
27#define XFS_ENOTSUP 4 /* Operation not supported */
28#define XFS_ENOLSN 5 /* Can't find the lsn you asked for */
29#define XFS_ENOTFOUND 6
30#define XFS_ENOTXFS 7 /* Not XFS filesystem */

--- 159 unchanged lines hidden ---