You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
const: make struct super_block::dq_op 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>
This commit is contained in:
committed by
Linus Torvalds
parent
00d3803b65
commit
61e225dc34
+1
-1
@@ -1318,7 +1318,7 @@ struct super_block {
|
||||
unsigned long long s_maxbytes; /* Max file size */
|
||||
struct file_system_type *s_type;
|
||||
const struct super_operations *s_op;
|
||||
struct dquot_operations *dq_op;
|
||||
const struct dquot_operations *dq_op;
|
||||
struct quotactl_ops *s_qcop;
|
||||
const struct export_operations *s_export_op;
|
||||
unsigned long s_flags;
|
||||
|
||||
@@ -135,7 +135,7 @@ static inline int sb_any_quota_active(struct super_block *sb)
|
||||
/*
|
||||
* Operations supported for diskquotas.
|
||||
*/
|
||||
extern struct dquot_operations dquot_operations;
|
||||
extern const struct dquot_operations dquot_operations;
|
||||
extern struct quotactl_ops vfs_quotactl_ops;
|
||||
|
||||
#define sb_dquot_ops (&dquot_operations)
|
||||
|
||||
Reference in New Issue
Block a user