freebsd-dev/sys/fs
Andriy Gapon 84206c741f 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)
2009-02-19 15:05:30 +00:00
..
cd9660 - Consolidate error handling in the cd9660 and udf mount routines. 2009-02-11 22:22:26 +00:00
coda Use shared vnode locks when invoking VOP_READDIR(). 2009-02-13 18:18:14 +00:00
deadfs Add a simple VOP_VPTOCNP implementation for deadfs which returns EBADF. 2008-12-12 00:59:36 +00:00
devfs Remove unused local variables. 2009-01-31 17:36:22 +00:00
fdescfs Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
fifofs Tweak the output of VOP_PRINT/vn_printf() some. 2009-02-06 20:06:48 +00:00
hpfs Remove unused local variables. 2009-01-31 17:36:22 +00:00
msdosfs Turn a "panic: non-decreasing id" into an error printf. This seems 2009-01-13 22:35:26 +00:00
ntfs According to phk@, VOP_STRATEGY should never, _ever_, return 2008-12-16 21:13:11 +00:00
nullfs Remove unused local variables. 2009-01-31 17:36:22 +00:00
nwfs After r186194 the *fs_strategy() functions always return 0. 2009-01-31 18:06:34 +00:00
portalfs Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
procfs Fix a logic bug that caused the pfs_attr method to be called only for 2009-02-16 15:17:26 +00:00
pseudofs Fix a logic bug that caused the pfs_attr method to be called only for 2009-02-16 15:17:26 +00:00
smbfs After r186194 the *fs_strategy() functions always return 0. 2009-01-31 18:06:34 +00:00
tmpfs Lookup up the directory entry for the tmpfs node that are deleted by 2009-02-08 19:18:33 +00:00
udf fs/udf: fix incorrect error return (-1) when reading a large dir 2009-02-19 15:05:30 +00:00
unionfs Simplify mode_t check treatment (suggested by trasz). 2008-11-25 03:49:41 +00:00