|
@@ -50,7 +50,7 @@
|
|
|
#define CIFS_MAGIC_NUMBER 0xFF534D42 /* the first four bytes of SMB PDUs */
|
|
|
|
|
|
#ifdef CONFIG_CIFS_QUOTA
|
|
|
-static struct quotactl_ops cifs_quotactl_ops;
|
|
|
+static const struct quotactl_ops cifs_quotactl_ops;
|
|
|
#endif /* QUOTA */
|
|
|
|
|
|
int cifsFYI = 0;
|
|
@@ -517,7 +517,7 @@ int cifs_xstate_get(struct super_block *sb, struct fs_quota_stat *qstats)
|
|
|
return rc;
|
|
|
}
|
|
|
|
|
|
-static struct quotactl_ops cifs_quotactl_ops = {
|
|
|
+static const struct quotactl_ops cifs_quotactl_ops = {
|
|
|
.set_xquota = cifs_xquota_set,
|
|
|
.get_xquota = cifs_xquota_get,
|
|
|
.set_xstate = cifs_xstate_set,
|