Rename fallthrough to zfs_fallthrough
Unfortunately macOS has obj-C keyword "fallthrough" in the OS headers. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Damian Szuberski <szuberskidamian@gmail.com> Signed-off-by: Jorgen Lundman <lundman@lundman.net> Closes #13097
This commit is contained in:
@@ -966,7 +966,7 @@ zfs_lookup(vnode_t *dvp, const char *nm, vnode_t **vpp,
|
||||
cnp->cn_flags |= SAVENAME;
|
||||
break;
|
||||
}
|
||||
fallthrough;
|
||||
zfs_fallthrough;
|
||||
case DELETE:
|
||||
if (error == 0)
|
||||
cnp->cn_flags |= SAVENAME;
|
||||
|
||||
Reference in New Issue
Block a user