proc: make struct proc_dir_entry::name a terminal array rather than a pointer
[deliverable/linux.git] / fs / proc / root.c
index d6c3b416529b9709f2db526be706dbb415902ea3..9a8a2b77b87479621838ee00c928a43edbe938e9 100644 (file)
@@ -186,13 +186,13 @@ static const struct inode_operations proc_root_inode_operations = {
 struct proc_dir_entry proc_root = {
        .low_ino        = PROC_ROOT_INO, 
        .namelen        = 5, 
-       .name           = "/proc",
        .mode           = S_IFDIR | S_IRUGO | S_IXUGO, 
        .nlink          = 2, 
        .count          = ATOMIC_INIT(1),
        .proc_iops      = &proc_root_inode_operations, 
        .proc_fops      = &proc_root_operations,
        .parent         = &proc_root,
+       .name           = "/proc",
 };
 
 int pid_ns_prepare_proc(struct pid_namespace *ns)
This page took 0.033477 seconds and 5 git commands to generate.