Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1358338 > unrolled thread

[PATCH 4.2.y-ckt 64/98] ovl: fix working on distributed fs as lower layer

Started byKamal Mostafa <kamal@canonical.com>
First post2016-03-16 00:40 +0100
Last post2016-03-16 00:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4.2.y-ckt 64/98] ovl: fix working on distributed fs as lower layer Kamal Mostafa <kamal@canonical.com> - 2016-03-16 00:40 +0100

#1358338 — [PATCH 4.2.y-ckt 64/98] ovl: fix working on distributed fs as lower layer

FromKamal Mostafa <kamal@canonical.com>
Date2016-03-16 00:40 +0100
Subject[PATCH 4.2.y-ckt 64/98] ovl: fix working on distributed fs as lower layer
Message-ID<rd6Jb-EH-3@gated-at.bofh.it>
4.2.8-ckt6 -stable review patch.  If anyone has any objections, please let me know.

---8<------------------------------------------------------------

From: Konstantin Khlebnikov <koct9i@gmail.com>

commit b5891cfab08fe3144a616e8e734df7749fb3b7d0 upstream.

This adds missing .d_select_inode into alternative dentry_operations.

Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Fixes: 7c03b5d45b8e ("ovl: allow distributed fs as lower layer")
Fixes: 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and f_inode to the underlay")
Reviewed-by: Nikolay Borisov <kernel@kyup.com>
Tested-by: Nikolay Borisov <kernel@kyup.com>
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
---
 fs/overlayfs/super.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index f42c940..96a122f 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -322,6 +322,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,
 };
-- 
2.7.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web