]> git.baikalelectronics.ru Git - 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)
commit2949b6658b4599893438c35f218bcffde48b3fa4
tree40fa05b7a3785fd7ee18c7d1860598b9664403bd
parent4a8722ab3856868f3d2c670c5688b4ee1b3b93c1
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: 70aa45229dab ("ovl: define ->get_acl() for overlay inodes")
Cc: <stable@vger.kernel.org> # v4.8
fs/overlayfs/inode.c