ovl: decode pure upper file handles
authorAmir Goldstein <amir73il@gmail.com>
Thu, 18 Jan 2018 23:03:23 +0000 (01:03 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 24 Jan 2018 10:26:00 +0000 (11:26 +0100)
commit8556a4205b111c4dac931ee5eba4fcce74c3cb21
tree91e96d4841893b6b7e5b938e59725f6a31996add
parent8ed5eec9d6c4c013aa657ebefbd10a1a0d15893d
ovl: decode pure upper file handles

Decoding an upper file handle is done by decoding the upper dentry from
underlying upper fs, finding or allocating an overlay inode that is
hashed by the real upper inode and instantiating an overlay dentry with
that inode.

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