summaryrefslogtreecommitdiffstats
path: root/source/locking/posix.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-11 17:05:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:46 -0500
commit609dbec600048718b86cd1ecdc2ce49bbdeb803c (patch)
treeb9f26cb76516f04e33454d41b1fb5c6244922bf9 /source/locking/posix.c
parentdc9cdf37e9e2d33d46f0f6da34a3df372eede982 (diff)
downloadsamba-609dbec600048718b86cd1ecdc2ce49bbdeb803c.tar.gz
samba-609dbec600048718b86cd1ecdc2ce49bbdeb803c.tar.xz
samba-609dbec600048718b86cd1ecdc2ce49bbdeb803c.zip
r19668: Convert the locking params to use struct share_param instead of snum
Diffstat (limited to 'source/locking/posix.c')
-rw-r--r--source/locking/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/locking/posix.c b/source/locking/posix.c
index 8e27d4523b5..806018da816 100644
--- a/source/locking/posix.c
+++ b/source/locking/posix.c
@@ -643,7 +643,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))) {
+ if (!lp_locking(fsp->conn->params) || !lp_posix_locking(conn->params)) {
/*
* 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,