|
@@ -267,6 +267,7 @@ static int ovl_copy_up_locked(struct dentry *workdir, struct dentry *upperdir,
|
|
|
|
|
|
if (S_ISREG(stat->mode)) {
|
|
if (S_ISREG(stat->mode)) {
|
|
struct path upperpath;
|
|
struct path upperpath;
|
|
|
|
+
|
|
ovl_path_upper(dentry, &upperpath);
|
|
ovl_path_upper(dentry, &upperpath);
|
|
BUG_ON(upperpath.dentry != NULL);
|
|
BUG_ON(upperpath.dentry != NULL);
|
|
upperpath.dentry = newdentry;
|
|
upperpath.dentry = newdentry;
|