From b6e3cffd2fbfa8779b241f16f216d075c2016596 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Fri, 20 Feb 2009 06:00:26 +0000 Subject: [PATCH] --- yaml --- r: 135945 b: refs/heads/master c: d8fba0ffe5e7442fc2560873ec901be6e56602a1 h: refs/heads/master i: 135943: 5d1600c78be15dfa246a84537e6625b2c300bd38 v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/dcache.c | 2 +- trunk/fs/ocfs2/dcache.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index c6a653e688d9..ca90a74132cb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 92cecbbfa3785a944c733a284b77faee5b82b70c +refs/heads/master: d8fba0ffe5e7442fc2560873ec901be6e56602a1 diff --git a/trunk/fs/ocfs2/dcache.c b/trunk/fs/ocfs2/dcache.c index e9d7c2038c0f..7d604480557a 100644 --- a/trunk/fs/ocfs2/dcache.c +++ b/trunk/fs/ocfs2/dcache.c @@ -455,7 +455,7 @@ void ocfs2_dentry_move(struct dentry *dentry, struct 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_iput = ocfs2_dentry_iput, }; diff --git a/trunk/fs/ocfs2/dcache.h b/trunk/fs/ocfs2/dcache.h index d06e16c06640..faa12e75f98d 100644 --- a/trunk/fs/ocfs2/dcache.h +++ b/trunk/fs/ocfs2/dcache.h @@ -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 */