Subject: CVS commit: src/sys/fs/efs
To: None <source-changes@NetBSD.org>
From: Stephen M. Rumble <rumble@netbsd.org>
List: source-changes
Date: 09/08/2007 18:18:00
Module Name: src
Committed By: rumble
Date: Sat Sep 8 18:18:00 UTC 2007
Modified Files:
src/sys/fs/efs: efs_vnops.c
Log Message:
In efs_readdir don't foolishly allocate and free dirents for each entry
before copying them out, rather just use a single one. Further, follow
the example of tmpfs and others by simply allocating on the stack.
This should have the side-effect of silencing false Coverity reports like
CID 4559 and 4554.
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/fs/efs/efs_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.