svn commit: r263175 - head/sys/fs/tmpfs
Bryan Drewery
bdrewery at FreeBSD.org
Fri Mar 14 13:58:03 UTC 2014
Author: bdrewery
Date: Fri Mar 14 13:58:02 2014
New Revision: 263175
URL: http://svnweb.freebsd.org/changeset/base/263175
Log:
Add missing FALLTHROUGH comment in tmpfs_dir_getdents for looking up '.' and
'..'.
Reviewed by: Russell Cattelan
Sponsored by: EMC / Isilon Storage Division
MFC after: 2 weeks
Modified:
head/sys/fs/tmpfs/tmpfs_subr.c
Modified: head/sys/fs/tmpfs/tmpfs_subr.c
==============================================================================
--- head/sys/fs/tmpfs/tmpfs_subr.c Fri Mar 14 13:55:48 2014 (r263174)
+++ head/sys/fs/tmpfs/tmpfs_subr.c Fri Mar 14 13:58:02 2014 (r263175)
@@ -1175,6 +1175,7 @@ tmpfs_dir_getdents(struct tmpfs_node *no
uio->uio_offset = TMPFS_DIRCOOKIE_DOTDOT;
if (cookies != NULL)
cookies[(*ncookies)++] = off = uio->uio_offset;
+ /* FALLTHROUGH */
case TMPFS_DIRCOOKIE_DOTDOT:
error = tmpfs_dir_getdotdotdent(node, uio);
if (error != 0)
More information about the svn-src-head
mailing list