aufs: tiny, silence checkpatch.pl

Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
Merge remote-tracking branch 'aufs3-standalone/aufs3.9/00base' into aufs3.9/10static
Merge branch 'aufs3.9/10static' into aufs3.9/11proc_map
aufs mmap: tiny, silence checkpatch.pl

Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
Merge branch 'aufs3.9/11proc_map' into aufs3.9/18public
aufs: allow an unprivileged mount under user_ns

User_ns mount to put AUFS into a chroot environment can be useful
while it has a security worry. This new module parameter sets an
internal flag FS_USERNS_MOUNT and allows user_ns unconditionally.
See the discussion in
http://www.mail-archive.com/aufs-users@lists.sourceforge.net/msg04266.html
and its thread.

Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
aufs: tiny, convert au_parser_pattern()

Just to remove uninteresting casts.

Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
aufs: introduce au_br_perm_str_t

Simplify and remove kstrdup() and kfree() for the string.

Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
aufs: simply handing attribute string

More simplification following to previous commit.
Resulted simplier and a little faster code.

Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
aufs: copy-up on open 1/3, new branch attributes

Return of COO which was implemented in aufs1 and dropped in aufs2.
This time it is implemented as the  branch attributes instead of mount
options. Also makes the obsoleted "coo=..." option an error.
For the usage, refer to aufs manual in aufs-util.git.

Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
aufs: copy-up on open 2/3, select the upper RW branch

Introduce a new function au_wbr_do_copyup_bu() which is a variation of
"copyup=bottom-up" policy.
Copy-up on open always select the nearest upper writable branch.

Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
aufs: copy-up on open 3/3, core

It doesn't aware the COO attributes for the copy-up target branch.

Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
Merge remote-tracking branch 'aufs3-standalone/aufs3.9/00base' into aufs3.9/10static
Merge branch 'aufs3.9/10static' into aufs3.9/11proc_map
Merge branch 'aufs3.9/11proc_map' into aufs3.9/18public