]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - mm/swapfile.c
futex: arch_futex_atomic_op_inuser() calling conventions change
[mirror_ubuntu-jammy-kernel.git] / mm / swapfile.c
index 6febae9ad3cd14424cc147134c848a996807a5d2..2c33ff456ed5e228510e02becb6e722f6e6603f0 100644 (file)
@@ -2796,17 +2796,17 @@ static int swaps_open(struct inode *inode, struct file *file)
        return 0;
 }
 
-static const struct file_operations proc_swaps_operations = {
-       .open           = swaps_open,
-       .read           = seq_read,
-       .llseek         = seq_lseek,
-       .release        = seq_release,
-       .poll           = swaps_poll,
+static const struct proc_ops swaps_proc_ops = {
+       .proc_open      = swaps_open,
+       .proc_read      = seq_read,
+       .proc_lseek     = seq_lseek,
+       .proc_release   = seq_release,
+       .proc_poll      = swaps_poll,
 };
 
 static int __init procswaps_init(void)
 {
-       proc_create("swaps", 0, NULL, &proc_swaps_operations);
+       proc_create("swaps", 0, NULL, &swaps_proc_ops);
        return 0;
 }
 __initcall(procswaps_init);