--- kfusd/kfusd.c 2006-09-26 00:57:19.000000000 +0200 +++ kfusd/kfusd.c.new 2006-09-26 00:58:43.000000000 +0200 @@ -67,7 +67,7 @@ #include #include #include -#include +//#include #include #include #include @@ -85,7 +85,7 @@ #define STATIC /* Define this if you want to emit debug messages (adds ~8K) */ -#define CONFIG_FUSD_DEBUG +//#define CONFIG_FUSD_DEBUG /* Default debug level for FUSD messages. Has no effect unless * CONFIG_FUSD_DEBUG is defined. */ @@ -96,6 +96,8 @@ /* Define this to check for memory leaks */ /*#define CONFIG_FUSD_MEMDEBUG*/ +#undef CONFIG_DEVFS_FS + /* Define this to use the faster wake_up_interruptible_sync instead of * the normal wake_up_interruptible. Note: you can't do this unless * you're bulding fusd as part of the kernel (not a module); or you've @@ -2956,10 +2958,10 @@ cdev_del(fusd_control_device); cdev_del(fusd_status_device); - - devfs_remove(FUSD_CONTROL_FILENAME); - devfs_remove(FUSD_STATUS_FILENAME); - +#ifdef CONFIG_DEVFS_FS + devfs_remove(FUSD_CONTROL_FILENAME); + devfs_remove(FUSD_STATUS_FILENAME); +#endif class_destroy(fusd_class);