提交 b5891cfa 编写于 作者: K Konstantin Khlebnikov 提交者: Miklos Szeredi

ovl: fix working on distributed fs as lower layer

This adds missing .d_select_inode into alternative dentry_operations.
Signed-off-by: NKonstantin 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: NNikolay Borisov <kernel@kyup.com>
Tested-by: NNikolay Borisov <kernel@kyup.com>
Signed-off-by: NMiklos Szeredi <miklos@szeredi.hu>
Cc: <stable@vger.kernel.org> # 4.2+
上级 fc77dbd3
......@@ -341,6 +341,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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册