ovl: decode indexed dir file handles
authorAmir Goldstein <amir73il@gmail.com>
Sun, 24 Dec 2017 16:42:16 +0000 (18:42 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 24 Jan 2018 10:26:03 +0000 (11:26 +0100)
commit3b0bfc6ed3c434800e5eacfb6cdbe45c07c270e1
tree5f5920ea849e04fc4f1e6da4706621d68c09d1df
parent9436a1a339fae84698aaa0b66d7a822018388348
ovl: decode indexed dir file handles

Decoding an indexed dir file handle is done by looking up the file handle
in index dir by name and then decoding the upper dir from the index origin
file handle. The decoded upper path is used to lookup an overlay dentry of
the same path.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/export.c
fs/overlayfs/namei.c
fs/overlayfs/overlayfs.h