]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ovl: fix get_acl() on tmpfs
authorMiklos Szeredi <mszeredi@redhat.com>
Mon, 31 Oct 2016 13:42:14 +0000 (14:42 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Mon, 31 Oct 2016 13:42:14 +0000 (14:42 +0100)
commitb93d4a0eb308d4400b84c8b24c1b80e09a9497d0
tree40fa05b7a3785fd7ee18c7d1860598b9664403bd
parentfd3220d37b1f6f0cab6142d98b0e6c4082e63299
ovl: fix get_acl() on tmpfs

tmpfs doesn't have ->get_acl() because it only uses cached acls.

This fixes the acl tests in pjdfstest when tmpfs is used as the upper layer
of the overlay.

Reported-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Fixes: 39a25b2b3762 ("ovl: define ->get_acl() for overlay inodes")
Cc: <stable@vger.kernel.org> # v4.8
fs/overlayfs/inode.c