Fix for 4995001: mountfs error timeout is 60ms instead of 60s.

Patch follows:

--- usr/src/uts/common/fs/ufs/ufs_vfsops.c      Fri Apr  8 05:15:55 2005
+++ usr/src/uts/common/fs/ufs/ufs_vfsops.c      Tue Apr 26 22:43:28 2005
@@ -750,8 +750,8 @@
 
 #include <sys/ddi.h>           /* for delay(9f) */
 
-int ufs_mount_error_delay = 20;        /* default to 20ms */
-int ufs_mount_timeout = 60;    /* default to 1 minute */
+unsigned int ufs_mount_error_delay = 20;       /* default to 20ms */
+unsigned int ufs_mount_timeout = 60000;        /* default to 1 minute */
 
 static int
 mountfs(struct vfs *vfsp, enum whymountroot why, struct vnode *devvp,
@@ -771,7 +771,7 @@
        struct vnode *rvp = NULL;
        int flags = 0;
        kmutex_t *ihm;
-       int elapsed;
+       unsigned int elapsed;
        int status;
        extern  int     maxphys;
This message posted from opensolaris.org

Reply via email to