Loading fs/overlayfs/copy_up.c +6 −5 Original line number Diff line number Diff line Loading @@ -343,12 +343,13 @@ static int ovl_copy_up_locked(struct dentry *workdir, struct dentry *upperdir, temp = ovl_do_tmpfile(upperdir, stat->mode); else temp = ovl_lookup_temp(workdir, dentry); err = 0; if (IS_ERR(temp)) { err = PTR_ERR(temp); if (IS_ERR(temp)) goto out1; temp = NULL; } err = 0; if (!tmpfile) if (!err && !tmpfile) err = ovl_create_real(wdir, temp, &cattr, NULL, true); if (new_creds) { Loading Loading
fs/overlayfs/copy_up.c +6 −5 Original line number Diff line number Diff line Loading @@ -343,12 +343,13 @@ static int ovl_copy_up_locked(struct dentry *workdir, struct dentry *upperdir, temp = ovl_do_tmpfile(upperdir, stat->mode); else temp = ovl_lookup_temp(workdir, dentry); err = 0; if (IS_ERR(temp)) { err = PTR_ERR(temp); if (IS_ERR(temp)) goto out1; temp = NULL; } err = 0; if (!tmpfile) if (!err && !tmpfile) err = ovl_create_real(wdir, temp, &cattr, NULL, true); if (new_creds) { Loading