David Howells <[email protected]> wrote:

> Jeff Layton <[email protected]> wrote:
> 
> > +   /* don't allow buffer to overflow */
> > +   if (byte_count > CIFSMaxBufSize)
> > +           return -ENOBUFS;
> 
> Shouldn't that be EPROTO too?  (ENOBUFS would seem to be wrong anyway).

No...  It should be ENOBUFS.  It's not a protocol error, but a local
limitation.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to