From: Andreas Schneider Date: Thu, 13 Jul 2023 06:50:21 +0000 (+0200) Subject: s3:locking: Fix code spelling X-Git-Tag: talloc-2.4.1~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b746f7773288fe9a42d73b5b2c82e9e6aa0e2c52;p=thirdparty%2Fsamba.git s3:locking: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index d065c7fe03e..905da049c58 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -877,7 +877,7 @@ static NTSTATUS brl_lock_posix(struct byte_range_lock *br_lck, /* * Break oplocks while we hold a brl. Since lock() and unlock() calls - * are not symetric with POSIX semantics, we cannot guarantee our + * are not symmetric with POSIX semantics, we cannot guarantee our * contend_level2_oplocks_begin/end calls will be acquired and * released one-for-one as with Windows semantics. Therefore we only * call contend_level2_oplocks_begin if this is the first POSIX brl on diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 5c2613b117c..6ee5987ffda 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -435,7 +435,7 @@ void locking_close_file(files_struct *fsp, /* * Unlocks must trigger dbwrap_watch watchers, * normally in smbd_do_unlocking. Here it's done - * implictly, we're closing the file and thus remove a + * implicitly, we're closing the file and thus remove a * share mode. This will wake the waiters. */ brl_close_fnum(br_lck); diff --git a/source3/locking/posix.c b/source3/locking/posix.c index ccc9d6276da..eedbbc1c58b 100644 --- a/source3/locking/posix.c +++ b/source3/locking/posix.c @@ -920,7 +920,7 @@ bool set_posix_lock_windows_flavour(files_struct *fsp, } /* - * Windows is very strange. It allows read locks to be overlayed + * Windows is very strange. It allows read locks to be overlaid * (even over a write lock), but leaves the write lock in force until the first * unlock. It also reference counts the locks. This means the following sequence : *