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

Merge branch 'aufs5.x-rcN/00base' into aufs5.x-rcN/01modular

parents 864bb6bb a5eb8529
...@@ -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