fix
authorMiklos Szeredi <miklos@szeredi.hu>
Mon, 15 Nov 2004 10:46:52 +0000 (10:46 +0000)
committerMiklos Szeredi <miklos@szeredi.hu>
Mon, 15 Nov 2004 10:46:52 +0000 (10:46 +0000)
ChangeLog
kernel/file.c
kernel/inode.c

index 7084029a510a68bff63c58dbd3c434af5425d7d1..38a2d9473e56c5bff40818c82fcdeec938248878 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,8 @@
        is '.' or '..'.  This new path resolvation is now done on mount as
        well as unmount.  This enables relative paths to work on unmount.
 
+       * Allow module params to be changed through sysfs
+
 2004-11-14  Miklos Szeredi <miklos@szeredi.hu>
 
        * Released 2.1-pre1
index cea140f89aecf847b7adc70de0b1ac95a38d8efc..84e75ad198f44674dab23112c062826653fa2789 100644 (file)
@@ -22,7 +22,7 @@
 static int user_mmap;
 #ifdef KERNEL_2_6
 #include <linux/moduleparam.h>
-module_param(user_mmap, int, 0);
+module_param(user_mmap, int, 0644);
 #else
 MODULE_PARM(user_mmap, "i");
 #endif
index 1b7e037a60f2709804d5dfd3fc404dd5adb4076b..b06249b3adfe17108015d43a5c284aecf40e8554 100644 (file)
@@ -28,7 +28,7 @@ static kmem_cache_t *fuse_inode_cachep;
 
 #ifdef KERNEL_2_6
 #include <linux/moduleparam.h>
-module_param(user_allow_other, int, 0);
+module_param(user_allow_other, int, 0644);
 #else
 MODULE_PARM(user_allow_other, "i");
 #endif