diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-02-20 05:59:46 +0000 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-03-27 14:44:01 -0400 |
commit | ce6cdc474aa5bf4c1a7dc698d83bb0622846a81d (patch) | |
tree | 66473a03448d329ffec987cfdcf2ebc7364c32bd /fs/fat | |
parent | 4269590a72934bb901b33b686e20605bf66653c4 (diff) | |
download | kernel-crypto-ce6cdc474aa5bf4c1a7dc698d83bb0622846a81d.tar.gz kernel-crypto-ce6cdc474aa5bf4c1a7dc698d83bb0622846a81d.tar.xz kernel-crypto-ce6cdc474aa5bf4c1a7dc698d83bb0622846a81d.zip |
constify dentry_operations: FAT
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fat')
-rw-r--r-- | fs/fat/namei_msdos.c | 2 | ||||
-rw-r--r-- | fs/fat/namei_vfat.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/fat/namei_msdos.c b/fs/fat/namei_msdos.c index 7ba03a4acbe..da3f361a37d 100644 --- a/fs/fat/namei_msdos.c +++ b/fs/fat/namei_msdos.c @@ -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, }; diff --git a/fs/fat/namei_vfat.c b/fs/fat/namei_vfat.c index 8ae32e37673..a0e00e3a46e 100644 --- a/fs/fat/namei_vfat.c +++ b/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, |