diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-11-11 17:05:11 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:46 -0500 |
commit | b6b84f98c0420f45c498b025d9edbeb7f830205a (patch) | |
tree | 458be5abc42d9fc7f67f9de0d4e604a910c70e36 /source3/locking/posix.c | |
parent | 5f3a692748e5927d195e02844e6cbb31540da965 (diff) | |
download | samba-b6b84f98c0420f45c498b025d9edbeb7f830205a.tar.gz samba-b6b84f98c0420f45c498b025d9edbeb7f830205a.tar.xz samba-b6b84f98c0420f45c498b025d9edbeb7f830205a.zip |
r19668: Convert the locking params to use struct share_param instead of snum
(This used to be commit 609dbec600048718b86cd1ecdc2ce49bbdeb803c)
Diffstat (limited to 'source3/locking/posix.c')
-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 8e27d4523b5..806018da816 100644 --- a/source3/locking/posix.c +++ b/source3/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, |