Loading fs/proc/base.c +3 −3 Original line number Diff line number Diff line Loading @@ -1545,7 +1545,7 @@ static int pid_delete_dentry(struct dentry * dentry) return !proc_pid(dentry->d_inode)->tasks[PIDTYPE_PID].first; } static struct dentry_operations pid_dentry_operations = static const struct dentry_operations pid_dentry_operations = { .d_revalidate = pid_revalidate, .d_delete = pid_delete_dentry, Loading Loading @@ -1717,7 +1717,7 @@ static int tid_fd_revalidate(struct dentry *dentry, struct nameidata *nd) return 0; } static struct dentry_operations tid_fd_dentry_operations = static const struct dentry_operations tid_fd_dentry_operations = { .d_revalidate = tid_fd_revalidate, .d_delete = pid_delete_dentry, Loading Loading @@ -2339,7 +2339,7 @@ static int proc_base_revalidate(struct dentry *dentry, struct nameidata *nd) return 0; } static struct dentry_operations proc_base_dentry_operations = static const struct dentry_operations proc_base_dentry_operations = { .d_revalidate = proc_base_revalidate, .d_delete = pid_delete_dentry, Loading fs/proc/generic.c +1 −1 Original line number Diff line number Diff line Loading @@ -363,7 +363,7 @@ static int proc_delete_dentry(struct dentry * dentry) return 1; } static struct dentry_operations proc_dentry_operations = static const struct dentry_operations proc_dentry_operations = { .d_delete = proc_delete_dentry, }; Loading fs/proc/proc_sysctl.c +2 −2 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ #include <linux/security.h> #include "internal.h" static struct dentry_operations proc_sys_dentry_operations; static const struct dentry_operations proc_sys_dentry_operations; static const struct file_operations proc_sys_file_operations; static const struct inode_operations proc_sys_inode_operations; static const struct file_operations proc_sys_dir_file_operations; Loading Loading @@ -396,7 +396,7 @@ static int proc_sys_compare(struct dentry *dir, struct qstr *qstr, return !sysctl_is_seen(PROC_I(dentry->d_inode)->sysctl); } static struct dentry_operations proc_sys_dentry_operations = { static const struct dentry_operations proc_sys_dentry_operations = { .d_revalidate = proc_sys_revalidate, .d_delete = proc_sys_delete, .d_compare = proc_sys_compare, Loading Loading
fs/proc/base.c +3 −3 Original line number Diff line number Diff line Loading @@ -1545,7 +1545,7 @@ static int pid_delete_dentry(struct dentry * dentry) return !proc_pid(dentry->d_inode)->tasks[PIDTYPE_PID].first; } static struct dentry_operations pid_dentry_operations = static const struct dentry_operations pid_dentry_operations = { .d_revalidate = pid_revalidate, .d_delete = pid_delete_dentry, Loading Loading @@ -1717,7 +1717,7 @@ static int tid_fd_revalidate(struct dentry *dentry, struct nameidata *nd) return 0; } static struct dentry_operations tid_fd_dentry_operations = static const struct dentry_operations tid_fd_dentry_operations = { .d_revalidate = tid_fd_revalidate, .d_delete = pid_delete_dentry, Loading Loading @@ -2339,7 +2339,7 @@ static int proc_base_revalidate(struct dentry *dentry, struct nameidata *nd) return 0; } static struct dentry_operations proc_base_dentry_operations = static const struct dentry_operations proc_base_dentry_operations = { .d_revalidate = proc_base_revalidate, .d_delete = pid_delete_dentry, Loading
fs/proc/generic.c +1 −1 Original line number Diff line number Diff line Loading @@ -363,7 +363,7 @@ static int proc_delete_dentry(struct dentry * dentry) return 1; } static struct dentry_operations proc_dentry_operations = static const struct dentry_operations proc_dentry_operations = { .d_delete = proc_delete_dentry, }; Loading
fs/proc/proc_sysctl.c +2 −2 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ #include <linux/security.h> #include "internal.h" static struct dentry_operations proc_sys_dentry_operations; static const struct dentry_operations proc_sys_dentry_operations; static const struct file_operations proc_sys_file_operations; static const struct inode_operations proc_sys_inode_operations; static const struct file_operations proc_sys_dir_file_operations; Loading Loading @@ -396,7 +396,7 @@ static int proc_sys_compare(struct dentry *dir, struct qstr *qstr, return !sysctl_is_seen(PROC_I(dentry->d_inode)->sysctl); } static struct dentry_operations proc_sys_dentry_operations = { static const struct dentry_operations proc_sys_dentry_operations = { .d_revalidate = proc_sys_revalidate, .d_delete = proc_sys_delete, .d_compare = proc_sys_compare, Loading