public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: wysochanski@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/tools lvmcmdline.c Date: Thu, 11 Dec 2008 03:28:00 -0000 [thread overview] Message-ID: <20081211032854.19454.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: wysochanski@sourceware.org 2008-12-11 03:28:54 Modified files: tools : lvmcmdline.c Log message: Replace _apply_settings() after create_toolcontext() with equivalent inline. Subsequent patches will refactor / remove each of these lines, as many of them are redundant when called immediately after create_toolcontext(). Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvmcmdline.c.diff?cvsroot=lvm2&r1=1.76&r2=1.77 --- LVM2/tools/lvmcmdline.c 2008/12/07 04:27:57 1.76 +++ LVM2/tools/lvmcmdline.c 2008/12/11 03:28:54 1.77 @@ -1091,7 +1091,23 @@ if (!(cmd = create_toolcontext(_cmdline.the_args, is_static, 0))) return_NULL; - _apply_settings(cmd); + init_debug(cmd->current_settings.debug); + init_verbose(cmd->current_settings.verbose + VERBOSE_BASE_LEVEL); + init_test(cmd->current_settings.test); + init_full_scan_done(0); + init_mirror_in_sync(0); + + init_msg_prefix(cmd->default_settings.msg_prefix); + init_cmd_name(cmd->default_settings.cmd_name); + + archive_enable(cmd, cmd->current_settings.archive); + backup_enable(cmd, cmd->current_settings.backup); + + set_activation(cmd->current_settings.activation); + + cmd->fmt = arg_ptr_value(cmd, metadatatype_ARG, + cmd->current_settings.fmt); + cmd->handles_missing_pvs = 0; return cmd; }
next reply other threads:[~2008-12-11 3:28 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-12-11 3:28 wysochanski [this message] -- strict thread matches above, loose matches on Subject: below -- 2012-04-11 12:49 agk 2012-03-01 21:17 zkabelac 2012-02-13 12:07 zkabelac 2011-08-04 14:54 zkabelac 2011-08-04 14:11 zkabelac 2011-04-22 12:07 prajnoha 2011-01-13 15:00 zkabelac 2010-12-20 13:59 zkabelac 2010-12-20 13:16 zkabelac 2010-11-29 11:14 zkabelac 2010-04-30 13:47 prajnoha 2010-04-30 13:28 prajnoha 2010-03-23 15:13 prajnoha 2010-01-21 13:41 zkabelac 2009-07-27 21:01 wysochanski 2009-07-07 1:51 wysochanski 2009-04-02 14:59 mbroz 2008-12-11 3:34 wysochanski 2008-12-11 3:31 wysochanski 2008-11-18 10:13 zkabelac 2008-11-12 9:49 zkabelac 2008-09-19 7:11 agk 2007-09-21 18:43 meyering 2004-11-12 15:58 agk 2004-06-29 13:27 agk 2004-04-05 16:24 agk 2004-03-26 12:21 agk
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20081211032854.19454.qmail@sourceware.org \ --to=wysochanski@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).