]> git.baikalelectronics.ru Git - kernel.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)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 Jul 2015 15:22:05 +0000 (11:22 -0400)
commit4b11ba11b51cd0c6c8abbf73d0146d7b402cebc7
treec28ba3f1536611aa81b84997be432143e3ccfb35
parent87a749101d7a47ee379d5e9dbd5e750de81945ff
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