]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ovl: handle ENOENT on index lookup
authorAmir Goldstein <amir73il@gmail.com>
Fri, 20 Oct 2017 14:19:06 +0000 (17:19 +0300)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Thu, 16 Nov 2017 13:23:26 +0000 (11:23 -0200)
commit2934e427fa6441c8b22cdbb6daa407d513283799
treedface451e27a14c534e00754691eebdfcab719c7
parent281795b0b5b50d906d5d0e0c92f62bdce44a2f5e
ovl: handle ENOENT on index lookup

BugLink: http://bugs.launchpad.net/bugs/1731961
commit 7937a56fdf0b064c2ffa33025210f725a4ebc822 upstream.

Treat ENOENT from index entry lookup the same way as treating a returned
negative dentry. Apparently, either could be returned if file is not
found, depending on the underlying file system.

Fixes: 359f392ca53e ("ovl: lookup index entry for copy up origin")
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
fs/overlayfs/namei.c