Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/dm dm: Revert "Fix error handling in dmioctl()" for now



details:   https://anonhg.NetBSD.org/src/rev/49cdcbd0a636
branches:  trunk
changeset: 1005526:49cdcbd0a636
user:      tkusumi <tkusumi%NetBSD.org@localhost>
date:      Wed Dec 11 14:03:37 2019 +0000

description:
dm: Revert "Fix error handling in dmioctl()" for now

This change seems to break "deps" in dm ioctl(2) for linear target.
Revert the change, will revisit later.
https://mail-index.netbsd.org/current-users/2019/12/11/msg037179.html

diffstat:

 sys/dev/dm/device-mapper.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 6e3fa61af2b3 -r 49cdcbd0a636 sys/dev/dm/device-mapper.c
--- a/sys/dev/dm/device-mapper.c        Wed Dec 11 11:54:23 2019 +0000
+++ b/sys/dev/dm/device-mapper.c        Wed Dec 11 14:03:37 2019 +0000
@@ -1,4 +1,4 @@
-/*        $NetBSD: device-mapper.c,v 1.48 2019/12/09 15:54:59 tkusumi Exp $ */
+/*        $NetBSD: device-mapper.c,v 1.49 2019/12/11 14:03:37 tkusumi Exp $ */
 
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -377,8 +377,8 @@
                if ((r = dm_cmd_to_fun(dm_dict_in)) != 0)
                        goto cleanup_exit;
 
+cleanup_exit:
                r = prop_dictionary_copyout_ioctl(pref, cmd, dm_dict_in);
-cleanup_exit:
                prop_object_release(dm_dict_in);
        }
 



Home | Main Index | Thread Index | Old Index