ovl: do operations on underlying file system in mounter's context
authorVivek Goyal <vgoyal@redhat.com>
Fri, 1 Jul 2016 20:34:28 +0000 (16:34 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 29 Jul 2016 10:05:23 +0000 (12:05 +0200)
commit1175b6b8d96331676f1d436b089b965807f23b4a
treee28f45dd3c2760062fc15f1b34844b345c925d14
parentc0ca3d70e8d3cf81e2255a217f7ca402f5ed0862
ovl: do operations on underlying file system in mounter's context

Given we are now doing checks both on overlay inode as well underlying
inode, we should be able to do checks and operations on underlying file
system using mounter's context.

So modify all operations to do checks/operations on underlying dentry/inode
in the context of mounter.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/dir.c
fs/overlayfs/inode.c