Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135941
b: refs/heads/master
c: d72f71e
h: refs/heads/master
i:
  135939: d4a7802
v: v3
  • Loading branch information
Al Viro committed Mar 27, 2009
1 parent d8c2516 commit 00b4ad3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5a3fd05a9bb2f104020fbfc4551ad4aaed4660a4
refs/heads/master: d72f71eb0edd629c95715aa7305b0259d3581e34
6 changes: 3 additions & 3 deletions trunk/fs/proc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/proc/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/proc/proc_sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 00b4ad3

Please sign in to comment.