Addresses LTC Bugzilla #27513
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
+2007-03-07 Theodore Tso <tytso@mit.edu>
+
+ * debugfs.c (do_lcd): Allow the lcd command when debugfs does not
+ currently have a filesystem open.
+ (Addresses LTC Bugzilla #27513)
+
2007-01-28 Theodore Tso <tytso@mit.edu>
* unused.c: Fix bug so that the dump_unused command segfault if
void do_lcd(int argc, char **argv)
{
- if (common_args_process(argc, argv, 2, 2, "lcd",
- "<native dir>", 0))
+ if (argc != 2) {
+ com_err(argv[0], 0, "Usage: %s %s", argv[0], "<native dir>");
return;
+ }
if (chdir(argv[1]) == -1) {
com_err(argv[0], errno,