mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-06 13:23:18 +00:00
constify dentry_operations: OCFS2
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
92cecbbfa3
commit
d8fba0ffe5
@ -455,7 +455,7 @@ void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target,
|
|||||||
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,
|
||||||
};
|
};
|
||||||
|
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user