mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
newtrans-lock-fix-fix-20081018
LICENSE IPL10 swap in the freshly allocated memory instead of throwing it away
This commit is contained in:
parent
f9191fdebc
commit
2767cbf773
@ -88,7 +88,7 @@ NewTrans(afs_int32 avol, afs_int32 apart)
|
||||
return (struct volser_trans *)0; /* volume busy */
|
||||
}
|
||||
}
|
||||
newtt = tt;
|
||||
tt = newtt;
|
||||
memset(tt, 0, sizeof(struct volser_trans));
|
||||
tt->volid = avol;
|
||||
tt->partition = apart;
|
||||
|
Loading…
Reference in New Issue
Block a user