Commit d8fba0ff authored by Al Viro's avatar Al Viro
Browse files

constify dentry_operations: OCFS2



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 92cecbbf
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -455,7 +455,7 @@ out_move:
	d_move(dentry, target);
	d_move(dentry, target);
}
}


struct dentry_operations ocfs2_dentry_ops = {
const struct dentry_operations ocfs2_dentry_ops = {
	.d_revalidate		= ocfs2_dentry_revalidate,
	.d_revalidate		= ocfs2_dentry_revalidate,
	.d_iput			= ocfs2_dentry_iput,
	.d_iput			= ocfs2_dentry_iput,
};
};
+1 −1
Original line number Original line Diff line number Diff line
@@ -26,7 +26,7 @@
#ifndef OCFS2_DCACHE_H
#ifndef OCFS2_DCACHE_H
#define 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 {
struct ocfs2_dentry_lock {
	/* Use count of dentry lock */
	/* Use count of dentry lock */