Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5891cfa authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov Committed by Miklos Szeredi
Browse files

ovl: fix working on distributed fs as lower layer



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>
Cc: <stable@vger.kernel.org> # 4.2+
parent fc77dbd3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,
};