diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-03-14 13:58:02 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-03-14 13:58:02 +0000 |
commit | 996c2ffe4285c1d52522fb3f05c4e92993d5cc6e (patch) | |
tree | 41ded4350a4c8da659775c88e62f307a940588c5 /sys/fs | |
parent | 104b00d969c797674a31a020661b20ebe0bce2f2 (diff) | |
download | FreeBSD-src-996c2ffe4285c1d52522fb3f05c4e92993d5cc6e.zip FreeBSD-src-996c2ffe4285c1d52522fb3f05c4e92993d5cc6e.tar.gz |
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
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/tmpfs/tmpfs_subr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c index 1308377..f4508c6 100644 --- a/sys/fs/tmpfs/tmpfs_subr.c +++ b/sys/fs/tmpfs/tmpfs_subr.c @@ -1175,6 +1175,7 @@ tmpfs_dir_getdents(struct tmpfs_node *node, struct uio *uio, int maxcookies, 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) |