From da3b1863ab798ad8a56e058dea0404008a404bf4 Mon Sep 17 00:00:00 2001 From: Pavel Tsekov Date: Sat, 28 Jan 2006 15:47:02 +0000 Subject: [PATCH] * direntry.c (vfs_s_open): Be less restrictive when O_LINEAR is specified and `linear_start' is not implemented. --- vfs/ChangeLog | 6 ++++++ vfs/direntry.c | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 96ae17266..162daf290 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,9 @@ +2006-01-28 Pavel Tsekov + + * direntry.c (vfs_s_open): Be less restrictive when + O_LINEAR is specified and `linear_start' is not + implemented. + 2006-01-27 Roland Illig * mcserv.c: Made mcserv.c work on NetBSD 3.0/i386 with GNU diff --git a/vfs/direntry.c b/vfs/direntry.c index 839ef19cd..b7b8fe2b1 100644 --- a/vfs/direntry.c +++ b/vfs/direntry.c @@ -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))) {