[patch] UDF write support problem in 2.5.7

Peter Osterlund (petero2@telia.com)
20 Mar 2002 20:56:59 +0100


Hi!

I can't get UDF write support to work in kernel 2.5.7 or 2.5.7-pre2.
The problem is that linux/config.h is not included, so CONFIG_UDF_RW
is undefined and the driver is compiled without write support. This
patch fixes my problem:

--- linux/include/linux/udf_fs.h.old Wed Mar 20 20:49:55 2002
+++ linux/include/linux/udf_fs.h Wed Mar 20 20:25:54 2002
@@ -34,6 +34,8 @@
#ifndef _UDF_FS_H
#define _UDF_FS_H 1

+#include <linux/config.h>
+
#define UDF_PREALLOCATE
#define UDF_DEFAULT_PREALLOC_BLOCKS 8

-- 
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/