aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ext4/mballoc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 3086b3c65adc..5ef6daf0cdc6 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -2202,7 +2202,7 @@ static void ext4_mb_seq_history_stop(struct seq_file *seq, void *v)
2202{ 2202{
2203} 2203}
2204 2204
2205static struct seq_operations ext4_mb_seq_history_ops = { 2205static const struct seq_operations ext4_mb_seq_history_ops = {
2206 .start = ext4_mb_seq_history_start, 2206 .start = ext4_mb_seq_history_start,
2207 .next = ext4_mb_seq_history_next, 2207 .next = ext4_mb_seq_history_next,
2208 .stop = ext4_mb_seq_history_stop, 2208 .stop = ext4_mb_seq_history_stop,
@@ -2284,7 +2284,7 @@ static ssize_t ext4_mb_seq_history_write(struct file *file,
2284 return count; 2284 return count;
2285} 2285}
2286 2286
2287static struct file_operations ext4_mb_seq_history_fops = { 2287static const struct file_operations ext4_mb_seq_history_fops = {
2288 .owner = THIS_MODULE, 2288 .owner = THIS_MODULE,
2289 .open = ext4_mb_seq_history_open, 2289 .open = ext4_mb_seq_history_open,
2290 .read = seq_read, 2290 .read = seq_read,
@@ -2363,7 +2363,7 @@ static void ext4_mb_seq_groups_stop(struct seq_file *seq, void *v)
2363{ 2363{
2364} 2364}
2365 2365
2366static struct seq_operations ext4_mb_seq_groups_ops = { 2366static const struct seq_operations ext4_mb_seq_groups_ops = {
2367 .start = ext4_mb_seq_groups_start, 2367 .start = ext4_mb_seq_groups_start,
2368 .next = ext4_mb_seq_groups_next, 2368 .next = ext4_mb_seq_groups_next,
2369 .stop = ext4_mb_seq_groups_stop, 2369 .stop = ext4_mb_seq_groups_stop,
@@ -2384,7 +2384,7 @@ static int ext4_mb_seq_groups_open(struct inode *inode, struct file *file)
2384 2384
2385} 2385}
2386 2386
2387static struct file_operations ext4_mb_seq_groups_fops = { 2387static const struct file_operations ext4_mb_seq_groups_fops = {
2388 .owner = THIS_MODULE, 2388 .owner = THIS_MODULE,
2389 .open = ext4_mb_seq_groups_open, 2389 .open = ext4_mb_seq_groups_open,
2390 .read = seq_read, 2390 .read = seq_read,