overlayfs: Make f_path always point to the overlay and f_inode to the underlay
[cascardo/linux.git] / fs / overlayfs / super.c
index 5f0d199..84c5e27 100644 (file)
@@ -275,6 +275,7 @@ static void ovl_dentry_release(struct dentry *dentry)
 
 static const struct dentry_operations ovl_dentry_operations = {
        .d_release = ovl_dentry_release,
+       .d_select_inode = ovl_d_select_inode,
 };
 
 static struct ovl_entry *ovl_alloc_entry(unsigned int numlower)