ovl: factor out ovl_get_index_fh() helper
authorAmir Goldstein <amir73il@gmail.com>
Thu, 28 Dec 2017 18:23:05 +0000 (20:23 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 24 Jan 2018 10:25:56 +0000 (11:25 +0100)
commit91ffe7beb31e7e1e689a59f5ef56acea0811d81c
tree6a5528271ffbaf34650fd988a4f1660dcc70bbbb
parent24f0b17203691d22815e842051a014e3bde7c227
ovl: factor out ovl_get_index_fh() helper

The helper is needed to lookup an index by file handle for NFS export.

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