Date: Thu, 20 Jan 2011 09:39:16 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/tmpfs tmpfs_subr.c tmpfs_vnops.c Message-ID: <201101200939.p0K9daSD036413@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2011-01-20 09:39:16 UTC
FreeBSD src repository
Modified files:
sys/fs/tmpfs tmpfs_subr.c tmpfs_vnops.c
Log:
SVN rev 217633 on 2011-01-20 09:39:16Z by kib
In tmpfs_readdir(), normalize handling of the directory entries that
either overflow the supplied buffer, or cause uiomove fail.
Do not advance cached de when directory entry was not copied out.
Do not return EOF when no entries could be copied due to first entry
too large for supplied buffer, signal EINVAL instead.
Reported by: Beat G?tzi <beat chruetertee ch>
MFC after: 1 week
Revision Changes Path
1.28 +4 -3 src/sys/fs/tmpfs/tmpfs_subr.c
1.45 +1 -1 src/sys/fs/tmpfs/tmpfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101200939.p0K9daSD036413>
