From 89ae98dac6c452268ab0b8617723e7fe69bbabb7 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Fri, 20 Feb 2009 05:56:19 +0000 Subject: [PATCH] --- yaml --- r: 135937 b: refs/heads/master c: 08f11513fa6f712506edb99327f7d051da9d860f h: refs/heads/master i: 135935: 1b738d1dd840094817a68aa3c4004030debf3fa2 v: v3 --- [refs] | 2 +- trunk/fs/autofs/root.c | 2 +- trunk/fs/autofs4/inode.c | 2 +- trunk/fs/autofs4/root.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index f5a16c45c35c..48f0c1c90d90 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a488257ce5a55c53973671218791296463698d07 +refs/heads/master: 08f11513fa6f712506edb99327f7d051da9d860f diff --git a/trunk/fs/autofs/root.c b/trunk/fs/autofs/root.c index 8aacade56956..4a1401cea0a1 100644 --- a/trunk/fs/autofs/root.c +++ b/trunk/fs/autofs/root.c @@ -192,7 +192,7 @@ static int autofs_revalidate(struct dentry * dentry, struct nameidata *nd) return 1; } -static struct dentry_operations autofs_dentry_operations = { +static const struct dentry_operations autofs_dentry_operations = { .d_revalidate = autofs_revalidate, }; diff --git a/trunk/fs/autofs4/inode.c b/trunk/fs/autofs4/inode.c index 716e12b627b2..69c8142da838 100644 --- a/trunk/fs/autofs4/inode.c +++ b/trunk/fs/autofs4/inode.c @@ -310,7 +310,7 @@ static struct autofs_info *autofs4_mkroot(struct autofs_sb_info *sbi) return ino; } -static struct dentry_operations autofs4_sb_dentry_operations = { +static const struct dentry_operations autofs4_sb_dentry_operations = { .d_release = autofs4_dentry_release, }; diff --git a/trunk/fs/autofs4/root.c b/trunk/fs/autofs4/root.c index 2a41c2a7fc52..74b1469a9504 100644 --- a/trunk/fs/autofs4/root.c +++ b/trunk/fs/autofs4/root.c @@ -349,13 +349,13 @@ void autofs4_dentry_release(struct dentry *de) } /* For dentries of directories in the root dir */ -static struct dentry_operations autofs4_root_dentry_operations = { +static const struct dentry_operations autofs4_root_dentry_operations = { .d_revalidate = autofs4_revalidate, .d_release = autofs4_dentry_release, }; /* For other dentries */ -static struct dentry_operations autofs4_dentry_operations = { +static const struct dentry_operations autofs4_dentry_operations = { .d_revalidate = autofs4_revalidate, .d_release = autofs4_dentry_release, };