Commit a5eb8529 authored by J. R. Okajima's avatar J. R. Okajima
Browse files

aufs: for v5.6-rc1, new struct proc_ops



Simply follows the changes in mainline,
	d56c0d45f0e2 2020-02-04 proc: decouple proc from VFS with "struct proc_ops"
Signed-off-by: default avatarJ. R. Okajima <hooanon05g@gmail.com>
parent f4062454
...@@ -116,10 +116,9 @@ out: ...@@ -116,10 +116,9 @@ out:
return err; return err;
} }
static const struct file_operations au_procfs_plm_fop = { static const struct proc_ops au_procfs_plm_op = {
.write = au_procfs_plm_write, .proc_write = au_procfs_plm_write,
.release = au_procfs_plm_release, .proc_release = au_procfs_plm_release
.owner = THIS_MODULE
}; };
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
...@@ -143,7 +142,7 @@ int __init au_procfs_init(void) ...@@ -143,7 +142,7 @@ int __init au_procfs_init(void)
goto out; goto out;
entry = proc_create(AUFS_PLINK_MAINT_NAME, S_IFREG | 0200, entry = proc_create(AUFS_PLINK_MAINT_NAME, S_IFREG | 0200,
au_procfs_dir, &au_procfs_plm_fop); au_procfs_dir, &au_procfs_plm_op);
if (unlikely(!entry)) if (unlikely(!entry))
goto out_dir; goto out_dir;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment