fs/aufs: Use proc_ops instead of file_operations

See mainline commit
d56c0d45f0e2 'proc: decouple proc from VFS with "struct proc_ops"'
for details.
This commit is contained in:
Evgenii Shatokhin 2020-04-12 19:25:17 +03:00
parent 57ec7ebc3e
commit 56972a0413

View file

@ -27651,10 +27651,10 @@ index 000000000000..0789335650de
+}
diff --git a/fs/aufs/procfs.c b/fs/aufs/procfs.c
new file mode 100644
index 000000000000..20bb15d45472
index 000000000000..4daf535741fa
--- /dev/null
+++ b/fs/aufs/procfs.c
@@ -0,0 +1,171 @@
@@ -0,0 +1,170 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2010-2020 Junjiro R. Okajima
@ -27786,10 +27786,9 @@ index 000000000000..20bb15d45472
+ return err;
+}
+
+static const struct file_operations au_procfs_plm_fop = {
+ .write = au_procfs_plm_write,
+ .release = au_procfs_plm_release,
+ .owner = THIS_MODULE
+static const struct proc_ops au_procfs_plm_fop = {
+ .proc_write = au_procfs_plm_write,
+ .proc_release = au_procfs_plm_release,
+};
+
+/* ---------------------------------------------------------------------- */