diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-21 20:01:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 10:17:24 -0400 |
commit | 0d54b217a247f39605361f867fefbb9e099a5432 (patch) | |
tree | 5af6a2cc4cbc6c327e735ac5edb642d47a1f0013 /include | |
parent | 61e225dc341107be304fd1088146c2a5e88ff9e0 (diff) |
const: make struct super_block::s_qcop const
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 2 | ||||
-rw-r--r-- | include/linux/quotaops.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 83e1a0cea97a..13c030ebfd28 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1319,7 +1319,7 @@ struct super_block { | |||
1319 | struct file_system_type *s_type; | 1319 | struct file_system_type *s_type; |
1320 | const struct super_operations *s_op; | 1320 | const struct super_operations *s_op; |
1321 | const struct dquot_operations *dq_op; | 1321 | const struct dquot_operations *dq_op; |
1322 | struct quotactl_ops *s_qcop; | 1322 | const struct quotactl_ops *s_qcop; |
1323 | const struct export_operations *s_export_op; | 1323 | const struct export_operations *s_export_op; |
1324 | unsigned long s_flags; | 1324 | unsigned long s_flags; |
1325 | unsigned long s_magic; | 1325 | unsigned long s_magic; |
diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h index 8dcbdb6e1019..3ebb23153640 100644 --- a/include/linux/quotaops.h +++ b/include/linux/quotaops.h | |||
@@ -136,7 +136,7 @@ static inline int sb_any_quota_active(struct super_block *sb) | |||
136 | * Operations supported for diskquotas. | 136 | * Operations supported for diskquotas. |
137 | */ | 137 | */ |
138 | extern const struct dquot_operations dquot_operations; | 138 | extern const struct dquot_operations dquot_operations; |
139 | extern struct quotactl_ops vfs_quotactl_ops; | 139 | extern const struct quotactl_ops vfs_quotactl_ops; |
140 | 140 | ||
141 | #define sb_dquot_ops (&dquot_operations) | 141 | #define sb_dquot_ops (&dquot_operations) |
142 | #define sb_quotactl_ops (&vfs_quotactl_ops) | 142 | #define sb_quotactl_ops (&vfs_quotactl_ops) |