Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/puffs Call ukfs_part_release(). For completeness a...
details: https://anonhg.NetBSD.org/src/rev/4c67254ccf31
branches: trunk
changeset: 749967:4c67254ccf31
user: pooka <pooka%NetBSD.org@localhost>
date: Sun Dec 13 21:16:54 2009 +0000
description:
Call ukfs_part_release(). For completeness and educational value.
diffstat:
usr.sbin/puffs/rump_cd9660/rump_cd9660.c | 3 ++-
usr.sbin/puffs/rump_efs/rump_efs.c | 3 ++-
usr.sbin/puffs/rump_ext2fs/rump_ext2fs.c | 3 ++-
usr.sbin/puffs/rump_ffs/rump_ffs.c | 3 ++-
usr.sbin/puffs/rump_hfs/rump_hfs.c | 3 ++-
usr.sbin/puffs/rump_lfs/rump_lfs.c | 3 ++-
usr.sbin/puffs/rump_msdos/rump_msdos.c | 3 ++-
usr.sbin/puffs/rump_ntfs/rump_ntfs.c | 3 ++-
usr.sbin/puffs/rump_sysvbfs/rump_sysvbfs.c | 3 ++-
usr.sbin/puffs/rump_udf/rump_udf.c | 3 ++-
10 files changed, 20 insertions(+), 10 deletions(-)
diffs (170 lines):
diff -r 38dcaa04d954 -r 4c67254ccf31 usr.sbin/puffs/rump_cd9660/rump_cd9660.c
--- a/usr.sbin/puffs/rump_cd9660/rump_cd9660.c Sun Dec 13 21:14:18 2009 +0000
+++ b/usr.sbin/puffs/rump_cd9660/rump_cd9660.c Sun Dec 13 21:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_cd9660.c,v 1.6 2009/12/03 14:27:16 pooka Exp $ */
+/* $NetBSD: rump_cd9660.c,v 1.7 2009/12/13 21:16:54 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -55,6 +55,7 @@
canon_dev, canon_dir);
rv = p2k_run_diskfs(MOUNT_CD9660, canon_dev, part, canon_dir, mntflags,
&args, sizeof(args), 0);
+ ukfs_part_release(part);
if (rv)
err(1, "mount");
diff -r 38dcaa04d954 -r 4c67254ccf31 usr.sbin/puffs/rump_efs/rump_efs.c
--- a/usr.sbin/puffs/rump_efs/rump_efs.c Sun Dec 13 21:14:18 2009 +0000
+++ b/usr.sbin/puffs/rump_efs/rump_efs.c Sun Dec 13 21:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_efs.c,v 1.5 2009/12/03 14:27:16 pooka Exp $ */
+/* $NetBSD: rump_efs.c,v 1.6 2009/12/13 21:16:54 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -55,6 +55,7 @@
mount_efs_parseargs(argc, argv, &args, &mntflags, canon_dev, canon_dir);
rv = p2k_run_diskfs(MOUNT_EFS, canon_dev, part, canon_dir, mntflags,
&args, sizeof(args), 0);
+ ukfs_part_release(part);
if (rv)
err(1, "mount");
diff -r 38dcaa04d954 -r 4c67254ccf31 usr.sbin/puffs/rump_ext2fs/rump_ext2fs.c
--- a/usr.sbin/puffs/rump_ext2fs/rump_ext2fs.c Sun Dec 13 21:14:18 2009 +0000
+++ b/usr.sbin/puffs/rump_ext2fs/rump_ext2fs.c Sun Dec 13 21:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_ext2fs.c,v 1.7 2009/12/03 14:27:16 pooka Exp $ */
+/* $NetBSD: rump_ext2fs.c,v 1.8 2009/12/13 21:16:54 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -56,6 +56,7 @@
canon_dev, canon_dir);
rv = p2k_run_diskfs(MOUNT_EXT2FS, canon_dev, part, canon_dir, mntflags,
&args, sizeof(args), 0);
+ ukfs_part_release(part);
if (rv)
err(1, "mount");
diff -r 38dcaa04d954 -r 4c67254ccf31 usr.sbin/puffs/rump_ffs/rump_ffs.c
--- a/usr.sbin/puffs/rump_ffs/rump_ffs.c Sun Dec 13 21:14:18 2009 +0000
+++ b/usr.sbin/puffs/rump_ffs/rump_ffs.c Sun Dec 13 21:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_ffs.c,v 1.5 2009/12/03 14:27:16 pooka Exp $ */
+/* $NetBSD: rump_ffs.c,v 1.6 2009/12/13 21:16:54 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -55,6 +55,7 @@
mount_ffs_parseargs(argc, argv, &args, &mntflags, canon_dev, canon_dir);
rv = p2k_run_diskfs(MOUNT_FFS, canon_dev, part, canon_dir,
mntflags, &args, sizeof(args), 0);
+ ukfs_part_release(part);
if (rv)
err(1, "mount");
diff -r 38dcaa04d954 -r 4c67254ccf31 usr.sbin/puffs/rump_hfs/rump_hfs.c
--- a/usr.sbin/puffs/rump_hfs/rump_hfs.c Sun Dec 13 21:14:18 2009 +0000
+++ b/usr.sbin/puffs/rump_hfs/rump_hfs.c Sun Dec 13 21:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_hfs.c,v 1.5 2009/12/03 14:27:16 pooka Exp $ */
+/* $NetBSD: rump_hfs.c,v 1.6 2009/12/13 21:16:54 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -55,6 +55,7 @@
mount_hfs_parseargs(argc, argv, &args, &mntflags, canon_dev, canon_dir);
rv = p2k_run_diskfs(MOUNT_HFS, canon_dev, part, canon_dir, mntflags,
&args, sizeof(args), 0);
+ ukfs_part_release(part);
if (rv)
err(1, "mount");
diff -r 38dcaa04d954 -r 4c67254ccf31 usr.sbin/puffs/rump_lfs/rump_lfs.c
--- a/usr.sbin/puffs/rump_lfs/rump_lfs.c Sun Dec 13 21:14:18 2009 +0000
+++ b/usr.sbin/puffs/rump_lfs/rump_lfs.c Sun Dec 13 21:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_lfs.c,v 1.13 2009/12/03 14:27:16 pooka Exp $ */
+/* $NetBSD: rump_lfs.c,v 1.14 2009/12/13 21:16:54 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -102,6 +102,7 @@
if (p2k_setup_diskfs(p2m, MOUNT_LFS, canon_dev, part, canon_dir,
mntflags, &args, sizeof(args)) == -1)
err(1, "mount");
+ ukfs_part_release(part);
#ifndef CLEANER_TESTING
if ((mntflags & MNT_RDONLY) == 0) {
diff -r 38dcaa04d954 -r 4c67254ccf31 usr.sbin/puffs/rump_msdos/rump_msdos.c
--- a/usr.sbin/puffs/rump_msdos/rump_msdos.c Sun Dec 13 21:14:18 2009 +0000
+++ b/usr.sbin/puffs/rump_msdos/rump_msdos.c Sun Dec 13 21:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_msdos.c,v 1.6 2009/12/03 14:27:16 pooka Exp $ */
+/* $NetBSD: rump_msdos.c,v 1.7 2009/12/13 21:16:55 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -56,6 +56,7 @@
canon_dev, canon_dir);
rv = p2k_run_diskfs(MOUNT_MSDOS, canon_dev, part, canon_dir, mntflags,
&args, sizeof(args), 0);
+ ukfs_part_release(part);
if (rv)
err(1, "mount");
diff -r 38dcaa04d954 -r 4c67254ccf31 usr.sbin/puffs/rump_ntfs/rump_ntfs.c
--- a/usr.sbin/puffs/rump_ntfs/rump_ntfs.c Sun Dec 13 21:14:18 2009 +0000
+++ b/usr.sbin/puffs/rump_ntfs/rump_ntfs.c Sun Dec 13 21:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_ntfs.c,v 1.5 2009/12/03 14:27:16 pooka Exp $ */
+/* $NetBSD: rump_ntfs.c,v 1.6 2009/12/13 21:16:55 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -56,6 +56,7 @@
canon_dev, canon_dir);
rv = p2k_run_diskfs(MOUNT_NTFS, canon_dev, part, canon_dir, mntflags,
&args, sizeof(args), 0);
+ ukfs_part_release(part);
if (rv)
err(1, "mount");
diff -r 38dcaa04d954 -r 4c67254ccf31 usr.sbin/puffs/rump_sysvbfs/rump_sysvbfs.c
--- a/usr.sbin/puffs/rump_sysvbfs/rump_sysvbfs.c Sun Dec 13 21:14:18 2009 +0000
+++ b/usr.sbin/puffs/rump_sysvbfs/rump_sysvbfs.c Sun Dec 13 21:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_sysvbfs.c,v 1.3 2009/12/03 14:27:17 pooka Exp $ */
+/* $NetBSD: rump_sysvbfs.c,v 1.4 2009/12/13 21:16:55 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -53,6 +53,7 @@
canon_dev, canon_dir);
rv = p2k_run_diskfs(MOUNT_SYSVBFS, canon_dev, part, canon_dir, mntflags,
&args, sizeof(args), 0);
+ ukfs_part_release(part);
if (rv)
err(1, "mount");
diff -r 38dcaa04d954 -r 4c67254ccf31 usr.sbin/puffs/rump_udf/rump_udf.c
--- a/usr.sbin/puffs/rump_udf/rump_udf.c Sun Dec 13 21:14:18 2009 +0000
+++ b/usr.sbin/puffs/rump_udf/rump_udf.c Sun Dec 13 21:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_udf.c,v 1.5 2009/12/03 14:27:17 pooka Exp $ */
+/* $NetBSD: rump_udf.c,v 1.6 2009/12/13 21:16:55 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -55,6 +55,7 @@
mount_udf_parseargs(argc, argv, &args, &mntflags, canon_dev, canon_dir);
rv = p2k_run_diskfs(MOUNT_UDF, canon_dev, part, canon_dir, mntflags,
&args, sizeof(args), 0);
+ ukfs_part_release(part);
if (rv)
err(1, "mount");
Home |
Main Index |
Thread Index |
Old Index