mirror of
https://abf.rosa.ru/djam/kernel-6.7-xanmod.git
synced 2025-02-24 17:42:49 +00:00
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:
parent
57ec7ebc3e
commit
56972a0413
1 changed files with 5 additions and 6 deletions
|
@ -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,
|
||||
+};
|
||||
+
|
||||
+/* ---------------------------------------------------------------------- */
|
||||
|
|
Loading…
Add table
Reference in a new issue