diff options
author | Volker Lendecke <vl@samba.org> | 2019-06-20 11:07:17 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-06-20 17:18:19 +0000 |
commit | 871bb7562cad1d4a9dccab602880d2ef3fffd75c (patch) | |
tree | c69eb8ae367007bdb84d54124230e226250ea667 /source3/utils/smbcontrol.c | |
parent | b3284bef3536328ff4ae965b5f34cec8ee9b8a3a (diff) | |
download | samba-871bb7562cad1d4a9dccab602880d2ef3fffd75c.tar.gz |
smbd: Remove unused brlock code
No PENDING locks in brlock.tdb anymore.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/utils/smbcontrol.c')
-rw-r--r-- | source3/utils/smbcontrol.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index b2aa1dfa2a6..1a8e59a95e2 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -857,36 +857,6 @@ static bool do_ip_dropped(struct tevent_context *ev_ctx, strlen(argv[1]) + 1); } -/* force a blocking lock retry */ - -static bool do_lockretry(struct tevent_context *ev_ctx, - struct messaging_context *msg_ctx, - const struct server_id pid, - const int argc, const char **argv) -{ - if (argc != 1) { - fprintf(stderr, "Usage: smbcontrol <dest> lockretry\n"); - return False; - } - - return send_message(msg_ctx, pid, MSG_SMB_UNLOCK, NULL, 0); -} - -/* force a validation of all brl entries, including re-sends. */ - -static bool do_brl_revalidate(struct tevent_context *ev_ctx, - struct messaging_context *msg_ctx, - const struct server_id pid, - const int argc, const char **argv) -{ - if (argc != 1) { - fprintf(stderr, "Usage: smbcontrol <dest> brl-revalidate\n"); - return False; - } - - return send_message(msg_ctx, pid, MSG_SMB_BRL_VALIDATE, NULL, 0); -} - /* Display talloc pool usage */ static bool do_poolusage(struct tevent_context *ev_ctx, @@ -1485,16 +1455,6 @@ static const struct { .help = "Tell winbind that an IP got dropped", }, { - .name = "lockretry", - .fn = do_lockretry, - .help = "Force a blocking lock retry", - }, - { - .name = "brl-revalidate", - .fn = do_brl_revalidate, - .help = "Revalidate all brl entries", - }, - { .name = "pool-usage", .fn = do_poolusage, .help = "Display talloc memory usage", |