mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
This reverts commit 89b804f254ae731be5f86e671b3ac126f2f452a8. As Dan points out, our backport is incorrect: > This backport is weird. The creds stuff was supposed to protect > target_init_dbroot(), but now it just changes the creds and then changes > it back for no reason. It does call target_xcopy_release_pt() in the > error handling. I don't see how that's related to the creds, so maybe > that's a separate bug fix? We don't have the target_init_dbroot() call there, so changing the creds just to change them back immediately is useless. Revert this commit. Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>