summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_aio_pthread.c2
-rw-r--r--source3/smbd/open.c2
-rw-r--r--source3/smbd/smb2_create.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/source3/modules/vfs_aio_pthread.c b/source3/modules/vfs_aio_pthread.c
index 3287fc165b..695ba12d51 100644
--- a/source3/modules/vfs_aio_pthread.c
+++ b/source3/modules/vfs_aio_pthread.c
@@ -472,7 +472,7 @@ static void aio_pthread_handle_suspend_completion(struct event_context *event_ct
}
/* 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) {
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 273f3b2c1e..f259cc99ec 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2376,7 +2376,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn,
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) ||
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index 9881ed2d51..7dd7c5ca60 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -1066,7 +1066,7 @@ void schedule_deferred_open_message_smb2(
/*
* 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.
@@ -1124,7 +1124,7 @@ static void smb2_deferred_open_timer(struct event_context *ev,
/*
* 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.