From 1bd201e70d57464fd26bf9089ea4b44fd49e4f2d Mon Sep 17 00:00:00 2001 From: Chris Siden Date: Mon, 23 Jan 2012 18:43:32 -0800 Subject: Illumos #1948: zpool list should show more detailed pool info Reviewed by: Adam Leventhal Reviewed by: Matt Ahrens Reviewed by: Eric Schrock Reviewed by: Richard Lowe Reviewed by: Albert Lee Reviewed by: Dan McDonald Reviewed by: Garrett D'Amore Approved by: Eric Schrock References: https://www.illumos.org/issues/1948 Ported by: Martin Matuska Signed-off-by: Brian Behlendorf Closes #685 --- module/zfs/vdev_root.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'module/zfs/vdev_root.c') diff --git a/module/zfs/vdev_root.c b/module/zfs/vdev_root.c index d7ca99a3d..5241b0215 100644 --- a/module/zfs/vdev_root.c +++ b/module/zfs/vdev_root.c @@ -23,6 +23,10 @@ * Use is subject to license terms. */ +/* + * Copyright (c) 2012 by Delphix. All rights reserved. + */ + #include #include #include @@ -50,7 +54,8 @@ too_many_errors(vdev_t *vd, int numerrors) } static int -vdev_root_open(vdev_t *vd, uint64_t *asize, uint64_t *ashift) +vdev_root_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, + uint64_t *ashift) { int lasterror = 0; int numerrors = 0; @@ -78,6 +83,7 @@ vdev_root_open(vdev_t *vd, uint64_t *asize, uint64_t *ashift) } *asize = 0; + *max_asize = 0; *ashift = 0; return (0); -- cgit v1.2.3