* direntry.c (vfs_s_open): Be less restrictive when O_LINEAR is specified

and `linear_start' is not implemented.
This commit is contained in:
Pavel Tsekov 2006-01-28 15:47:02 +00:00
parent 5eca3eb99a
commit da3b1863ab
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2006-01-28 Pavel Tsekov <ptsekov@gmx.net>
* direntry.c (vfs_s_open): Be less restrictive when
O_LINEAR is specified and `linear_start' is not
implemented.
2006-01-27 Roland Illig <roland.illig@gmx.de>
* mcserv.c: Made mcserv.c work on NetBSD 3.0/i386 with GNU

View File

@ -780,9 +780,6 @@ vfs_s_open (struct vfs_class *me, const char *file, int flags, int mode)
if (MEDATA->linear_start) {
print_vfs_message (_("Starting linear transfer..."));
fh->linear = LS_LINEAR_PREOPEN;
} else {
g_free (fh);
ERRNOR (ENOSYS, NULL);
}
} else if ((MEDATA->fh_open)
&& (MEDATA->fh_open (me, fh, flags, mode))) {