]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4826d5c968b8152fa0262aa55e7534e0481e57a6
treee28f45dd3c2760062fc15f1b34844b345c925d14
parentcb66ed08a5c0964bac061b718c2d5c04d6efac3f
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