Log Message:
-----------
* main.c: Allow debug= to be passed to the Unionfs module.
Modified Files:
--------------
unionfs:
ChangeLog (r1.532 -> r1.533)
fist.h (r1.62 -> r1.63)
main.c (r1.133 -> r1.134)
Revision Data
-------------
Index: ChangeLog
===================================================================
RCS file: /home/cvs/unionfs/unionfs/ChangeLog,v
retrieving revision 1.532
retrieving revision 1.533
diff -LChangeLog -LChangeLog -u -d -b -B -p -r1.532 -r1.533
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,7 @@
+2005-11-15 Charles P. Wright <[EMAIL PROTECTED]>
+
+ * main.c: Allow debug= to be passed to the Unionfs module.
+
2005-11-11 Allessio Curri <[EMAIL PROTECTED]>
* rpm/unionfs.spec: Update RPM spec file to include unionimap.
Index: main.c
===================================================================
RCS file: /home/cvs/unionfs/unionfs/main.c,v
retrieving revision 1.133
retrieving revision 1.134
diff -Lmain.c -Lmain.c -u -d -b -B -p -r1.133 -r1.134
--- main.c
+++ main.c
@@ -21,6 +21,7 @@
#include "fist.h"
#include "unionfs.h"
#include <linux/module.h>
+#include <linux/moduleparam.h>
/* sb we pass is unionfs's super_block */
int unionfs_interpose(struct dentry *dentry, struct super_block *sb, int flag)
@@ -894,10 +895,16 @@ static struct file_system_type unionfs_f
.fs_flags = FS_REVAL_DOT,
};
+static int init_debug = 0;
+module_param_named(debug, init_debug, int, 0444);
+MODULE_PARM_DESC(debug, "Initial Unionfs debug value.");
+
static int __init init_unionfs_fs(void)
{
int err;
printk("Registering unionfs " UNIONFS_VERSION "\n");
+
+ fist_set_debug_value(init_debug);
#ifdef FIST_MALLOC_DEBUG
atomic_set(&unionfs_malloc_counter, 0);
Index: fist.h
===================================================================
RCS file: /home/cvs/unionfs/unionfs/fist.h,v
retrieving revision 1.62
retrieving revision 1.63
diff -Lfist.h -Lfist.h -u -d -b -B -p -r1.62 -r1.63
--- fist.h
+++ fist.h
@@ -63,7 +63,6 @@
#include <linux/swap.h>
#include <asm/system.h>
-#include <asm/segment.h>
#include <asm/mman.h>
#include <linux/seq_file.h>
#include <linux/dcache.h>
_______________________________________________
unionfs-cvs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs