param: Rename variable used for lp_map_archive bMap_archive
authorAndrew Bartlett <abartlet@samba.org>
Tue, 24 Dec 2013 03:03:18 +0000 (16:03 +1300)
committerJeremy Allison <jra@samba.org>
Sat, 25 Jan 2014 00:18:42 +0000 (16:18 -0800)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/param/loadparm.c
lib/param/param_functions.c
lib/param/param_table.c
source3/param/loadparm.c

index f407fb2783a29fa1a7f3410c63e7d32a5283a817..f806b22544123c19f48676e9b5bb65fdb94a5eed 100644 (file)
@@ -2052,7 +2052,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
        lp_ctx->sDefault->bAvailable = true;
        lp_ctx->sDefault->browseable = true;
        lp_ctx->sDefault->readonly = true;
-       lp_ctx->sDefault->bMap_archive = true;
+       lp_ctx->sDefault->map_archive = true;
        lp_ctx->sDefault->iStrictLocking = true;
        lp_ctx->sDefault->bOpLocks = true;
        lp_ctx->sDefault->iCreate_mask = 0744;
index ace8105c2773878439e2493febd4ba87a390fcd7..8642dae9e3f8a5b291417e4eb4ead2f88be9a2e9 100644 (file)
@@ -37,7 +37,7 @@ FN_LOCAL_BOOL(browseable, browseable)
 FN_LOCAL_BOOL(readonly, readonly)
 FN_LOCAL_BOOL(print_ok, print_ok)
 FN_LOCAL_BOOL(map_hidden, map_hidden)
-FN_LOCAL_BOOL(map_archive, bMap_archive)
+FN_LOCAL_BOOL(map_archive, map_archive)
 FN_LOCAL_BOOL(oplocks, bOpLocks)
 FN_LOCAL_BOOL(strict_sync, bStrictSync)
 FN_LOCAL_BOOL(map_system, bMap_system)
index 103847726aab61d64c2e85357469b178ee8c0b76..b3df9c8e34416f357a6218998a85431c05e2c79c 100644 (file)
@@ -2496,7 +2496,7 @@ static struct parm_struct parm_table[] = {
                .label          = "map archive",
                .type           = P_BOOL,
                .p_class        = P_LOCAL,
-               .offset         = LOCAL_VAR(bMap_archive),
+               .offset         = LOCAL_VAR(map_archive),
                .special        = NULL,
                .enum_list      = NULL,
                .flags          = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,
index f71a8c183daa0d8b4727d31f6e66bece6470c29a..2184cf5480546b4cc23fc370654caad0e1b24736 100644 (file)
@@ -221,7 +221,7 @@ static struct loadparm_service sDefault =
        .bPrintNotifyBackchannel = false,
        .bMap_system = false,
        .map_hidden = false,
-       .bMap_archive = true,
+       .map_archive = true,
        .bStoreDosAttributes = false,
        .bDmapiSupport = false,
        .bLocking = true,