2005-04-16 18:20:36 -04:00
|
|
|
/*
|
|
|
|
* udf_fs.h
|
|
|
|
*
|
|
|
|
* PURPOSE
|
|
|
|
* Included by fs/filesystems.c
|
|
|
|
*
|
|
|
|
* DESCRIPTION
|
|
|
|
* OSTA-UDF(tm) = Optical Storage Technology Association
|
|
|
|
* Universal Disk Format.
|
|
|
|
*
|
|
|
|
* This code is based on version 2.50 of the UDF specification,
|
|
|
|
* and revision 3 of the ECMA 167 standard [equivalent to ISO 13346].
|
|
|
|
* http://www.osta.org/ * http://www.ecma.ch/
|
|
|
|
* http://www.iso.org/
|
|
|
|
*
|
|
|
|
* COPYRIGHT
|
|
|
|
* This file is distributed under the terms of the GNU General Public
|
|
|
|
* License (GPL). Copies of the GPL can be obtained from:
|
|
|
|
* ftp://prep.ai.mit.edu/pub/gnu/GPL
|
|
|
|
* Each contributing author retains all rights to their own work.
|
|
|
|
*
|
|
|
|
* (C) 1999-2004 Ben Fennema
|
|
|
|
* (C) 1999-2000 Stelias Computing Inc
|
|
|
|
*
|
|
|
|
* HISTORY
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _UDF_FS_H
|
|
|
|
#define _UDF_FS_H 1
|
|
|
|
|
|
|
|
#define UDF_PREALLOCATE
|
|
|
|
#define UDF_DEFAULT_PREALLOC_BLOCKS 8
|
|
|
|
|
|
|
|
#undef UDFFS_DEBUG
|
|
|
|
|
|
|
|
#ifdef UDFFS_DEBUG
|
|
|
|
#define udf_debug(f, a...) \
|
2008-02-08 07:20:46 -05:00
|
|
|
do { \
|
2005-04-16 18:20:36 -04:00
|
|
|
printk (KERN_DEBUG "UDF-fs DEBUG %s:%d:%s: ", \
|
|
|
|
__FILE__, __LINE__, __FUNCTION__); \
|
|
|
|
printk (f, ##a); \
|
2008-02-08 07:20:46 -05:00
|
|
|
} while (0)
|
2005-04-16 18:20:36 -04:00
|
|
|
#else
|
|
|
|
#define udf_debug(f, a...) /**/
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define udf_info(f, a...) \
|
|
|
|
printk (KERN_INFO "UDF-fs INFO " f, ##a);
|
|
|
|
|
|
|
|
#endif /* _UDF_FS_H */
|