diff options
-rw-r--r-- | libdiskfs/fsys-options.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libdiskfs/fsys-options.c b/libdiskfs/fsys-options.c index 565836ce..c69dd43d 100644 --- a/libdiskfs/fsys-options.c +++ b/libdiskfs/fsys-options.c @@ -72,13 +72,8 @@ diskfs_S_fsys_set_options (fsys_t fsys, if (!err) { - int argc = argz_count (data, len); - char **argv = alloca (sizeof (char *) * (argc + 1)); - - argz_extract (data, len, argv); - rwlock_writer_lock (&diskfs_fsys_lock); - err = diskfs_set_options (argc, argv); + err = diskfs_set_options (data, len); rwlock_writer_unlock (&diskfs_fsys_lock); } |