]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d3b4e9c18541ad1c3e51484969a3469ba2e5d45
tree5f5920ea849e04fc4f1e6da4706621d68c09d1df
parenta85dbb0fe8557e7ca0cbb50d783ff97872916bd4
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