]> git.baikalelectronics.ru Git - kernel.git/commit
ovl: fold copy-up helpers into callers
authorMiklos Szeredi <mszeredi@redhat.com>
Fri, 26 Oct 2018 21:34:39 +0000 (23:34 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 26 Oct 2018 21:34:39 +0000 (23:34 +0200)
commitfbe0b03accc9c1542ef0151c10cf2dbaf441b896
tree10698b7957cb0b5aa32b1188098b408246bc908a
parent8353495abb0ef95d2aa5bf4a67a1d6beee829b97
ovl: fold copy-up helpers into callers

Now that the workdir and tmpfile copy up modes have been untagled, the
functions become simple enough that the helpers can be folded into the
callers.

Add new helpers where there is any duplication remaining: preparing creds
for creating the object.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/copy_up.c