Date: Thu, 19 Feb 2009 15:05:30 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/udf udf_vnops.c Message-ID: <200902191505.n1JF5gkC070686@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
avg 2009-02-19 15:05:30 UTC FreeBSD src repository Modified files: sys/fs/udf udf_vnops.c Log: SVN rev 188815 on 2009-02-19 15:05:30Z by avg fs/udf: fix incorrect error return (-1) when reading a large dir Not enough space in user-land buffer is not an error, userland will read further until eof is reached. So instead of propagating -1 to caller we convert it to zero/success. cd9660 code works exactly the same way. PR: kern/78987 Reviewed by: jhb (mentor) Approved by: jhb (mentor) Revision Changes Path 1.77 +3 -4 src/sys/fs/udf/udf_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902191505.n1JF5gkC070686>