From 5d1600c78be15dfa246a84537e6625b2c300bd38 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Fri, 20 Feb 2009 05:59:46 +0000 Subject: [PATCH] --- yaml --- r: 135943 b: refs/heads/master c: ce6cdc474aa5bf4c1a7dc698d83bb0622846a81d h: refs/heads/master i: 135941: 00b4ad3758e953f1e00704527a341603ca381555 135939: d4a7802300c49fc08fc37f8d47e8f4519407d8c9 135935: 1b738d1dd840094817a68aa3c4004030debf3fa2 v: v3 --- [refs] | 2 +- trunk/fs/fat/namei_msdos.c | 2 +- trunk/fs/fat/namei_vfat.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index fa625f9ecd24..cee65c1b353b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4269590a72934bb901b33b686e20605bf66653c4 +refs/heads/master: ce6cdc474aa5bf4c1a7dc698d83bb0622846a81d diff --git a/trunk/fs/fat/namei_msdos.c b/trunk/fs/fat/namei_msdos.c index 7ba03a4acbe0..da3f361a37dd 100644 --- a/trunk/fs/fat/namei_msdos.c +++ b/trunk/fs/fat/namei_msdos.c @@ -188,7 +188,7 @@ static int msdos_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b) goto out; } -static struct dentry_operations msdos_dentry_operations = { +static const struct dentry_operations msdos_dentry_operations = { .d_hash = msdos_hash, .d_compare = msdos_cmp, }; diff --git a/trunk/fs/fat/namei_vfat.c b/trunk/fs/fat/namei_vfat.c index 8ae32e37673c..a0e00e3a46e9 100644 --- a/trunk/fs/fat/namei_vfat.c +++ b/trunk/fs/fat/namei_vfat.c @@ -166,13 +166,13 @@ static int vfat_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b) return 1; } -static struct dentry_operations vfat_ci_dentry_ops = { +static const struct dentry_operations vfat_ci_dentry_ops = { .d_revalidate = vfat_revalidate_ci, .d_hash = vfat_hashi, .d_compare = vfat_cmpi, }; -static struct dentry_operations vfat_dentry_ops = { +static const struct dentry_operations vfat_dentry_ops = { .d_revalidate = vfat_revalidate, .d_hash = vfat_hash, .d_compare = vfat_cmp,