summaryrefslogtreecommitdiff
path: root/fs/proc/generic.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2009-02-20 05:58:47 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2009-03-27 14:44:01 -0400
commitd72f71eb0edd629c95715aa7305b0259d3581e34 (patch)
treef7f96de5c94ffae797b9b8e41939c8bdeb0ecb81 /fs/proc/generic.c
parent5a3fd05a9bb2f104020fbfc4551ad4aaed4660a4 (diff)
downloadlwn-d72f71eb0edd629c95715aa7305b0259d3581e34.tar.gz
lwn-d72f71eb0edd629c95715aa7305b0259d3581e34.zip
constify dentry_operations: procfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/generic.c')
-rw-r--r--fs/proc/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/generic.c b/fs/proc/generic.c
index db7fa5cab988..5d2989e9dcc1 100644
--- a/fs/proc/generic.c
+++ b/fs/proc/generic.c
@@ -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,
};