|
@@ -844,6 +844,7 @@ struct inode *ovl_get_inode(struct super_block *sb,
|
|
}
|
|
}
|
|
|
|
|
|
dput(upperdentry);
|
|
dput(upperdentry);
|
|
|
|
+ kfree(oip->redirect);
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -867,6 +868,8 @@ struct inode *ovl_get_inode(struct super_block *sb,
|
|
if (oip->index)
|
|
if (oip->index)
|
|
ovl_set_flag(OVL_INDEX, inode);
|
|
ovl_set_flag(OVL_INDEX, inode);
|
|
|
|
|
|
|
|
+ OVL_I(inode)->redirect = oip->redirect;
|
|
|
|
+
|
|
/* Check for non-merge dir that may have whiteouts */
|
|
/* Check for non-merge dir that may have whiteouts */
|
|
if (is_dir) {
|
|
if (is_dir) {
|
|
if (((upperdentry && lowerdentry) || oip->numlower > 1) ||
|
|
if (((upperdentry && lowerdentry) || oip->numlower > 1) ||
|