Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/puffs/rump_ext2fs No need to ukfs_modload() ext2fs ...
details: https://anonhg.NetBSD.org/src/rev/83590d5d8092
branches: trunk
changeset: 747977:83590d5d8092
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Oct 07 20:11:05 2009 +0000
description:
No need to ukfs_modload() ext2fs anymore.
diffstat:
usr.sbin/puffs/rump_ext2fs/rump_ext2fs.c | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diffs (34 lines):
diff -r eb2225f527e4 -r 83590d5d8092 usr.sbin/puffs/rump_ext2fs/rump_ext2fs.c
--- a/usr.sbin/puffs/rump_ext2fs/rump_ext2fs.c Wed Oct 07 18:12:11 2009 +0000
+++ b/usr.sbin/puffs/rump_ext2fs/rump_ext2fs.c Wed Oct 07 20:11:05 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_ext2fs.c,v 1.4 2008/11/26 19:41:11 pooka Exp $ */
+/* $NetBSD: rump_ext2fs.c,v 1.5 2009/10/07 20:11:05 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -36,13 +36,9 @@
#include <unistd.h>
#include <rump/p2k.h>
-#include <rump/ukfs.h>
#include "mount_ext2fs.h"
-/* XXX */
-#define EXT2FSLIB "/usr/lib/librumpfs_ext2fs.so"
-
int
main(int argc, char *argv[])
{
@@ -52,10 +48,6 @@
int rv;
setprogname(argv[0]);
- ukfs_init();
- if (ukfs_modload(EXT2FSLIB) < 1)
- err(1, "failed to load ext2fs support");
-
mount_ext2fs_parseargs(argc, argv, &args, &mntflags,
canon_dev, canon_dir);
rv = p2k_run_fs(MOUNT_EXT2FS, canon_dev, canon_dir, mntflags,
Home |
Main Index |
Thread Index |
Old Index