On 07/18/2012 07:41 PM, Christoph Hellwig wrote:
> /* Fresh node */
> - if (!sys_stat_ok() && !sys_stat_halt()) {
> + if (sys->status == SD_STATUS_WAIT_FOR_FORMAT) {There is a helper sys_stat_wait_format() for SD_STATUS_WAIT_FOR_FORMAT. Also I am not sure if we can change fresh node check into SD_STATUS_WAIT_FOR_FORMAT. Is there possible for a fresh node with SD_STATUS_WAIT_FOR_JOIN? Thanks, Yuan -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
