diff options
-rw-r--r-- | source3/locking/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/posix.c b/source3/locking/posix.c index 9d5c42a1bc..9a50f55c09 100644 --- a/source3/locking/posix.c +++ b/source3/locking/posix.c @@ -642,7 +642,7 @@ int fd_close_posix(struct connection_struct *conn, files_struct *fsp) int *fd_array = NULL; size_t count, i; - if (!lp_locking(SNUM(fsp->conn)) || !lp_posix_locking(SNUM(conn)) || lp_posix_cifsu_locktype()) { + if (!lp_locking(SNUM(fsp->conn)) || !lp_posix_locking(SNUM(conn))) { /* * No locking or POSIX to worry about or we want POSIX semantics * which will lose all locks on all fd's open on this dev/inode, |