]> 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)
commitdbf51824f4cfb7e73facc8d27146390b5f6ce409
tree40fa05b7a3785fd7ee18c7d1860598b9664403bd
parent81562630c5ac25db4186c4d641094075f52eb5c5
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: e54439229971 ("ovl: define ->get_acl() for overlay inodes")
Cc: <stable@vger.kernel.org> # v4.8
fs/overlayfs/inode.c