]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
config: parse 'lockdep' option in .conf
authorSage Weil <sage@newdream.net>
Thu, 10 Dec 2009 21:01:35 +0000 (13:01 -0800)
committerSage Weil <sage@newdream.net>
Thu, 10 Dec 2009 21:01:35 +0000 (13:01 -0800)
src/config.cc

index 4f6bd40e9262ea3eb502de65a85ca77f4ea2e5bc..5194139d1f8dc65b7c5b1f78fe872bde49ded382 100644 (file)
@@ -946,6 +946,7 @@ bool parse_config_file(ConfFile *cf, bool auto_update)
       config_option *opt = &config_optionsp[i];
       conf_read_key(NULL, opt->conf_name, opt->type, opt->val_ptr, opt->val_ptr, true);
   }
+  conf_read_key(NULL, "lockdep", OPT_INT, &g_lockdep, &g_lockdep, false);
 
   return true;
 }