constify dentry_operations: OCFS2

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2009-02-20 06:00:26 +00:00
parent 92cecbbfa3
commit d8fba0ffe5
2 changed files with 2 additions and 2 deletions

View file

@ -455,7 +455,7 @@ out_move:
d_move(dentry, target);
}
struct dentry_operations ocfs2_dentry_ops = {
const struct dentry_operations ocfs2_dentry_ops = {
.d_revalidate = ocfs2_dentry_revalidate,
.d_iput = ocfs2_dentry_iput,
};

View file

@ -26,7 +26,7 @@
#ifndef OCFS2_DCACHE_H
#define OCFS2_DCACHE_H
extern struct dentry_operations ocfs2_dentry_ops;
extern const struct dentry_operations ocfs2_dentry_ops;
struct ocfs2_dentry_lock {
/* Use count of dentry lock */