Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
/*
* 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
/*
* 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);
}
/*
- * 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 :
*