]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ovl: define ->get_acl() for overlay inodes
authorVivek Goyal <vgoyal@redhat.com>
Fri, 1 Jul 2016 20:34:26 +0000 (16:34 -0400)
committerShan Hai <shan.hai@oracle.com>
Fri, 4 Aug 2017 05:47:50 +0000 (13:47 +0800)
commitecf9c8db3cbc07239e1d031c254d7df7357506bb
tree7fa287ccf482ee38c1b429916b855e2770c29c11
parent900e60d375f8449cef105161df825031a49b4e82
ovl: define ->get_acl() for overlay inodes

Now we are planning to do DAC permission checks on overlay inode
itself. And to make it work, we will need to make sure we can get acls from
underlying inode. So define ->get_acl() for overlay inodes and this in turn
calls into underlying filesystem to get acls, if any.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Orabug: 26401569

(backport upstream commit 39a25b2b37629f65e5a1eba1b353d0b47687c2ca)

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
fs/overlayfs/overlayfs.h
fs/overlayfs/super.c