]> www.infradead.org Git - users/jedix/linux-maple.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)
committerShan Hai <shan.hai@oracle.com>
Fri, 4 Aug 2017 05:49:03 +0000 (13:49 +0800)
commit50b09673e2c551120b6023114bb1bfe91298f3ec
treeae39740b2ce4d68d7b708d96aa307a29d9cff62d
parent13a40a5f1c27872d2234ec0a34695fb064277006
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>
Orabug: 26401569

(backport upstream commit 1175b6b8d96331676f1d436b089b965807f23b4a)

Signed-off-by: Shan Hai <shan.hai@oracle.com>
Reviewed-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
fs/overlayfs/dir.c
fs/overlayfs/inode.c