}
/* Jobid completed we weren't waiting for.
- We must reshedule this as an immediate event
+ We must reschedule this as an immediate event
on the main event context. */
im = tevent_create_immediate(NULL);
if (!im) {
if (file_existed && (flags2&O_TRUNC)) {
/*
- * We are modifing the file after open - update the stat
+ * We are modifying the file after open - update the stat
* struct..
*/
if ((SMB_VFS_FTRUNCATE(fsp, 0) == -1) ||
/*
* This is subtle. We must null out the callback
- * before resheduling, else the first call to
+ * before rescheduling, else the first call to
* tevent_req_nterror() causes the _receive()
* function to be called, this causing tevent_req_post()
* to crash.
/*
* This is subtle. We must null out the callback
- * before resheduling, else the first call to
+ * before rescheduling, else the first call to
* tevent_req_nterror() causes the _receive()
* function to be called, this causing tevent_req_post()
* to crash.