On Tue, Oct 01, 2002 at 01:19:36PM -0500, Jeff Dike wrote:
> > @@ -863,6 +863,7 @@
> > return(-EFAULT);
> > return(0);
> > }
> > + return -ENOTTY;
> > }
> I did a check of some of the other block drivers, and they mostly seem to
> do -EINVAL rather than -ENOTTY. There was an oddball -ENOSYS, but I guess
> I'll stick with -EINVAL.
Well, it can be both ways (EINVAL and ENOTTY).
Probably EINVAL is more close in this case, though.
I'll send the stacktraces tomorrow, when I'll get to work.
Bye,
Oleg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/