Commit 455fadec authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov Committed by Greg Kroah-Hartman

ovl: fix working on distributed fs as lower layer

commit b5891cfa upstream.

This adds missing .d_select_inode into alternative dentry_operations.
Signed-off-by: default avatarKonstantin Khlebnikov <koct9i@gmail.com>
Fixes: 7c03b5d4 ("ovl: allow distributed fs as lower layer")
Fixes: 4bacc9c9 ("overlayfs: Make f_path always point to the overlay and f_inode to the underlay")
Reviewed-by: default avatarNikolay Borisov <kernel@kyup.com>
Tested-by: default avatarNikolay Borisov <kernel@kyup.com>
Signed-off-by: default avatarMiklos Szeredi <miklos@szeredi.hu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e25cdcef
......@@ -324,6 +324,7 @@ static const struct dentry_operations ovl_dentry_operations = {
static const struct dentry_operations ovl_reval_dentry_operations = {
.d_release = ovl_dentry_release,
.d_select_inode = ovl_d_select_inode,
.d_revalidate = ovl_dentry_revalidate,
.d_weak_revalidate = ovl_dentry_weak_revalidate,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment