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)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 Jul 2015 15:22:05 +0000 (11:22 -0400)
commit9391dd00d13c853ab4f2a85435288ae2202e0e43
treec28ba3f1536611aa81b84997be432143e3ccfb35
parent0a73d0a204a4a04a1e110539c5a524ae51f91d6d
fix a braino in ovl_d_select_inode()

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