ovl: copy up of disconnected dentries
commitaa3ff3c152ff94ef045ed802db7535167f8a21ab
authorAmir Goldstein <amir73il@gmail.com>
Sun, 15 Oct 2017 15:00:20 +0000 (15 18:00 +0300)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 24 Jan 2018 10:25:58 +0000 (24 11:25 +0100)
treebdeb25cc1784bf8bf2862d654b8a9ea5b0134b33
parent829c28be9bb9a05aa7eeb8a68a4536cca2d3d694
ovl: copy up of disconnected dentries

With NFS export, some operations on decoded file handles (e.g. open,
link, setattr, xattr_set) may call copy up with a disconnected non-dir.
In this case, we will copy up lower inode to index dir without
linking it to upper dir.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/copy_up.c
fs/overlayfs/inode.c
fs/overlayfs/util.c