X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fncpfs%2Fdir.c;h=9c590722d87ea87fd458041815da3cd8a519b3d1;hb=89b7161c48f4b7acd5cb70d7da6b3abf3fe982d1;hp=07e9715b865887042b899299effe1c4f37a7e106;hpb=8daf14cf56816303d64d1a705fcbc389211ba36e;p=~andy%2Flinux diff --git a/fs/ncpfs/dir.c b/fs/ncpfs/dir.c index 07e9715b865..9c590722d87 100644 --- a/fs/ncpfs/dir.c +++ b/fs/ncpfs/dir.c @@ -79,7 +79,7 @@ static int ncp_hash_dentry(struct dentry *, struct qstr *); static int ncp_compare_dentry (struct dentry *, struct qstr *, struct qstr *); static int ncp_delete_dentry(struct dentry *); -static struct dentry_operations ncp_dentry_operations = +static const struct dentry_operations ncp_dentry_operations = { .d_revalidate = ncp_lookup_validate, .d_hash = ncp_hash_dentry, @@ -87,7 +87,7 @@ static struct dentry_operations ncp_dentry_operations = .d_delete = ncp_delete_dentry, }; -struct dentry_operations ncp_root_dentry_operations = +const struct dentry_operations ncp_root_dentry_operations = { .d_hash = ncp_hash_dentry, .d_compare = ncp_compare_dentry,