]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/debugfs/inode.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm...
[karo-tx-linux.git] / fs / debugfs / inode.c
index 36e2b667e82280e62c108113cd2c02724b14a5ed..b607d92cdf2445ab8c1e364a70f939ce21e22c6a 100644 (file)
@@ -28,7 +28,7 @@
 #include <linux/magic.h>
 #include <linux/slab.h>
 
-#define DEBUGFS_DEFAULT_MODE   0755
+#define DEBUGFS_DEFAULT_MODE   0700
 
 static struct vfsmount *debugfs_mount;
 static int debugfs_mount_count;
@@ -301,9 +301,9 @@ static struct file_system_type debug_fs_type = {
        .kill_sb =      kill_litter_super,
 };
 
-struct dentry *__create_file(const char *name, umode_t mode,
-                                  struct dentry *parent, void *data,
-                                  const struct file_operations *fops)
+static struct dentry *__create_file(const char *name, umode_t mode,
+                                   struct dentry *parent, void *data,
+                                   const struct file_operations *fops)
 {
        struct dentry *dentry = NULL;
        int error;