aboutsummaryrefslogtreecommitdiffstats
path: root/fs/quota
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-10-16 15:26:03 +0400
committerJan Kara <jack@suse.cz>2009-12-10 15:02:51 +0100
commit1472da5fdc65f0cd286c655758d629346001e126 (patch)
tree6ac8b6e9a1994ae1de2eef2aededaec612039cc5 /fs/quota
parent5ced58f73554e9d9609a790c5164d10ef91ce8ff (diff)
downloadkernel_samsung_smdk4412-1472da5fdc65f0cd286c655758d629346001e126.zip
kernel_samsung_smdk4412-1472da5fdc65f0cd286c655758d629346001e126.tar.gz
kernel_samsung_smdk4412-1472da5fdc65f0cd286c655758d629346001e126.tar.bz2
const: struct quota_format_ops
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/quota')
-rw-r--r--fs/quota/quota_v1.c2
-rw-r--r--fs/quota/quota_v2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/quota/quota_v1.c b/fs/quota/quota_v1.c
index 0edcf42..2ae757e 100644
--- a/fs/quota/quota_v1.c
+++ b/fs/quota/quota_v1.c
@@ -204,7 +204,7 @@ out:
return ret;
}
-static struct quota_format_ops v1_format_ops = {
+static const struct quota_format_ops v1_format_ops = {
.check_quota_file = v1_check_quota_file,
.read_file_info = v1_read_file_info,
.write_file_info = v1_write_file_info,
diff --git a/fs/quota/quota_v2.c b/fs/quota/quota_v2.c
index a5475fb..01f25ea 100644
--- a/fs/quota/quota_v2.c
+++ b/fs/quota/quota_v2.c
@@ -207,7 +207,7 @@ static int v2_free_file_info(struct super_block *sb, int type)
return 0;
}
-static struct quota_format_ops v2_format_ops = {
+static const struct quota_format_ops v2_format_ops = {
.check_quota_file = v2_check_quota_file,
.read_file_info = v2_read_file_info,
.write_file_info = v2_write_file_info,