Commit | Line | Data |
---|---|---|
1da177e4 LT |
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.50 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 | * | |
1da177e4 LT |
16 | * COPYRIGHT |
17 | * This file is distributed under the terms of the GNU General Public | |
18 | * License (GPL). Copies of the GPL can be obtained from: | |
19 | * ftp://prep.ai.mit.edu/pub/gnu/GPL | |
20 | * Each contributing author retains all rights to their own work. | |
21 | * | |
22 | * (C) 1999-2004 Ben Fennema | |
23 | * (C) 1999-2000 Stelias Computing Inc | |
24 | * | |
25 | * HISTORY | |
26 | * | |
27 | */ | |
28 | ||
29 | #ifndef _UDF_FS_H | |
30 | #define _UDF_FS_H 1 | |
31 | ||
32 | #define UDF_PREALLOCATE | |
33 | #define UDF_DEFAULT_PREALLOC_BLOCKS 8 | |
34 | ||
1da177e4 LT |
35 | #undef UDFFS_DEBUG |
36 | ||
37 | #ifdef UDFFS_DEBUG | |
38 | #define udf_debug(f, a...) \ | |
756fa92f | 39 | do { \ |
1da177e4 LT |
40 | printk (KERN_DEBUG "UDF-fs DEBUG %s:%d:%s: ", \ |
41 | __FILE__, __LINE__, __FUNCTION__); \ | |
42 | printk (f, ##a); \ | |
756fa92f | 43 | } while (0) |
1da177e4 LT |
44 | #else |
45 | #define udf_debug(f, a...) /**/ | |
46 | #endif | |
47 | ||
48 | #define udf_info(f, a...) \ | |
49 | printk (KERN_INFO "UDF-fs INFO " f, ##a); | |
50 | ||
51 | #endif /* _UDF_FS_H */ |