Module Name: src Committed By: pooka Date: Tue Aug 4 12:37:14 UTC 2009
Modified Files: src/lib/libukfs: ukfs.c Log Message: If opening the device fails, skip etfs registration only if it is because of ENOENT. Otherwise, let the file system handle it. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/lib/libukfs/ukfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libukfs/ukfs.c diff -u src/lib/libukfs/ukfs.c:1.34 src/lib/libukfs/ukfs.c:1.35 --- src/lib/libukfs/ukfs.c:1.34 Mon Aug 3 15:08:37 2009 +++ src/lib/libukfs/ukfs.c Tue Aug 4 12:37:14 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: ukfs.c,v 1.34 2009/08/03 15:08:37 pooka Exp $ */ +/* $NetBSD: ukfs.c,v 1.35 2009/08/04 12:37:14 pooka Exp $ */ /* * Copyright (c) 2007, 2008 Antti Kantee. All Rights Reserved. @@ -225,6 +225,8 @@ devfd = -1; } doreg = 1; + } else if (errno != ENOENT) { + doreg = 1; } fs = malloc(sizeof(struct ukfs));