Commit ce6cdc47 authored by Al Viro's avatar Al Viro

constify dentry_operations: FAT

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 4269590a
...@@ -188,7 +188,7 @@ old_compare: ...@@ -188,7 +188,7 @@ old_compare:
goto out; goto out;
} }
static struct dentry_operations msdos_dentry_operations = { static const struct dentry_operations msdos_dentry_operations = {
.d_hash = msdos_hash, .d_hash = msdos_hash,
.d_compare = msdos_cmp, .d_compare = msdos_cmp,
}; };
......
...@@ -166,13 +166,13 @@ static int vfat_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b) ...@@ -166,13 +166,13 @@ static int vfat_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b)
return 1; 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_revalidate = vfat_revalidate_ci,
.d_hash = vfat_hashi, .d_hash = vfat_hashi,
.d_compare = vfat_cmpi, .d_compare = vfat_cmpi,
}; };
static struct dentry_operations vfat_dentry_ops = { static const struct dentry_operations vfat_dentry_ops = {
.d_revalidate = vfat_revalidate, .d_revalidate = vfat_revalidate,
.d_hash = vfat_hash, .d_hash = vfat_hash,
.d_compare = vfat_cmp, .d_compare = vfat_cmp,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment