constify dentry_operations: FAT
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 20 Feb 2009 05:59:46 +0000 (05:59 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 27 Mar 2009 18:44:01 +0000 (14:44 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fat/namei_msdos.c
fs/fat/namei_vfat.c

index 7ba03a4acbe07d7f8d426580e785f86075e1e7d0..da3f361a37ddb794bd38973bfea03548edbc3e86 100644 (file)
@@ -188,7 +188,7 @@ old_compare:
        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,
 };
index 8ae32e37673c32fbee31e0a89eec705fbacf8267..a0e00e3a46e91fdaa9a881f7e11d69de671e74b4 100644 (file)
@@ -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,