1 /* 2 * udf_fs.h 3 * 4 * PURPOSE 5 * Included by fs/filesystems.c 6 * 7 * DESCRIPTION 8 * OSTA-UDF(tm) = Optical Storage Technology Association 9 * Universal Disk Format. 10 * 11 * This code is based on version 2.00 of the UDF specification, 12 * and revision 3 of the ECMA 167 standard [equivalent to ISO 13346]. 13 * http://www.osta.org/ * http://www.ecma.ch/ 14 * http://www.iso.org/ 15 * 16 * CONTACTS 17 * E-mail regarding any portion of the Linux UDF file system should be 18 * directed to the development team mailing list (run by majordomo): 19 * linux_udf@hpesjro.fc.hp.com 20 * 21 * COPYRIGHT 22 * This file is distributed under the terms of the GNU General Public 23 * License (GPL). Copies of the GPL can be obtained from: 24 * ftp://prep.ai.mit.edu/pub/gnu/GPL 25 * Each contributing author retains all rights to their own work. 26 * 27 * (C) 1999-2000 Ben Fennema 28 * (C) 1999-2000 Stelias Computing Inc 29 * 30 * HISTORY 31 * 32 */ 33 #include <linux/config.h> 34 35 #ifndef _UDF_FS_H 36 #define _UDF_FS_H 1 37 38 #define UDF_PREALLOCATE 39 #define UDF_DEFAULT_PREALLOC_BLOCKS 8 40 41 #define UDFFS_DATE "2002/03/11" 42 #define UDFFS_VERSION "0.9.6" 43 44 #if !defined(UDFFS_RW) 45 46 #if defined(CONFIG_UDF_RW) 47 #define UDFFS_RW 1 48 #else /* !defined(CONFIG_UDF_RW) */ 49 #define UDFFS_RW 0 50 #endif /* defined(CONFIG_UDF_RW) */ 51 52 #endif /* !defined(UDFFS_RW) */ 53 54 #define UDFFS_DEBUG 55 56 #ifdef UDFFS_DEBUG 57 #define udf_debug(f, a...) \ 58 { \ 59 printk (KERN_DEBUG "UDF-fs DEBUG %s:%d:%s: ", \ 60 __FILE__, __LINE__, __FUNCTION__); \ 61 printk (f, ##a); \ 62 } 63 #else 64 #define udf_debug(f, a...) /**/ 65 #endif 66 67 #define udf_info(f, a...) \ 68 printk (KERN_INFO "UDF-fs INFO " f, ##a); 69 70 #endif /* _UDF_FS_H */ 71