diff options
| author | Andrew Bartlett <abartlet@samba.org> | 2013-12-24 16:03:18 +1300 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-01-24 16:18:42 -0800 |
| commit | 2add7c569a208b256d3234d16d417060d8dd82a9 (patch) | |
| tree | ce14a65e02348a185480913b30998dab8dbd5d6d /source3/param/loadparm.c | |
| parent | 1aa8333c3d936ad09358d9e528b1e5c803391dc2 (diff) | |
| download | samba-2add7c569a208b256d3234d16d417060d8dd82a9.tar.gz samba-2add7c569a208b256d3234d16d417060d8dd82a9.tar.xz samba-2add7c569a208b256d3234d16d417060d8dd82a9.zip | |
param: Rename variable used for lp_oplocks bOpLocks
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/param/loadparm.c')
| -rw-r--r-- | source3/param/loadparm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 2184cf5480..4b32a62cf1 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -227,7 +227,7 @@ static struct loadparm_service sDefault = .bLocking = true, .iStrictLocking = Auto, .bPosixLocking = true, - .bOpLocks = true, + .oplocks = true, .bKernelOplocks = false, .bLevel2OpLocks = true, .bOnlyUser = false, @@ -1782,7 +1782,7 @@ bool lp_add_printer(const char *pszPrintername, int iDefaultService) /* Printers cannot be read_only. */ ServicePtrs[i]->readonly = false; /* No oplocks on printer services. */ - ServicePtrs[i]->bOpLocks = false; + ServicePtrs[i]->oplocks = false; /* Printer services must be printable. */ ServicePtrs[i]->print_ok = true; |
