]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fix a braino in ovl_d_select_inode()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 Jul 2015 14:39:45 +0000 (10:39 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Oct 2015 21:43:26 +0000 (14:43 -0700)
commitaaf19f122d2e826cab6a56dabfdfcd485430a9bc
tree950d6ca87c192883bd9cc2abb0838ad9f8046a16
parent9abb3b81094857a1e2d7dea5b2a8605e29d8c77d
fix a braino in ovl_d_select_inode()

commit 9391dd00d13c853ab4f2a85435288ae2202e0e43 upstream.

when opening a directory we want the overlayfs inode, not one from
the topmost layer.

Reported-By: Andrey Jr. Melnikov <temnota.am@gmail.com>
Tested-By: Andrey Jr. Melnikov <temnota.am@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: "Kamata, Munehisa" <kamatam@amazon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/overlayfs/inode.c