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
This commit is contained in:
parent
ac09d109ca
commit
504bde017a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user