summaryrefslogtreecommitdiff
path: root/libnetfs/fsys-set-options.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/fsys-set-options.c')
-rw-r--r--libnetfs/fsys-set-options.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libnetfs/fsys-set-options.c b/libnetfs/fsys-set-options.c
index 465bbf32..8abd5a16 100644
--- a/libnetfs/fsys-set-options.c
+++ b/libnetfs/fsys-set-options.c
@@ -76,15 +76,10 @@ netfs_S_fsys_set_options (fsys_t fsys,
if (!err)
{
- int argc = argz_count (data, data_len);
- char **argv = alloca (sizeof (char *) * (argc + 1));
-
- argz_extract (data, data_len, argv);
-
#if NOT_YET
rwlock_writer_lock (&netfs_fsys_lock);
#endif
- err = netfs_set_options (argc, argv);
+ err = netfs_set_options (data, data_len);
#if NOT_YET
rwlock_writer_unlock (&netfs_fsys_lock);
#endif