]> git.baikalelectronics.ru Git - kernel.git/commit
ovl: Do not check for redirect if this is last layer
authorVivek Goyal <vgoyal@redhat.com>
Fri, 9 Mar 2018 20:44:42 +0000 (15:44 -0500)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 12 Apr 2018 10:04:49 +0000 (12:04 +0200)
commit5dc0ab8f74fd3ca115d426cde766af384aa091bd
tree7c5fc764d973c2edef71c2b9c4ab995632a243cb
parent51df038a96ca18c0042c1480100692e70ea509d7
ovl: Do not check for redirect if this is last layer

If we are looking in last layer, then there should not be any need to
process redirect. redirect information is used only for lookup in next
lower layer and there is no more lower layer to look into. So no need
to process redirects.

IOW, ignore redirects on lowest layer.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/namei.c