diff options
author | наб <[email protected]> | 2022-06-28 23:27:44 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-06-29 14:08:59 -0700 |
commit | 404601aca07dc44273c1ab33e09067423f97c591 (patch) | |
tree | a5c16fcfe822c1680e2e414c6b9b10f07baf0d8c /lib | |
parent | a2f6bff976e43c58d8460c288bac13868c614447 (diff) |
linux: libzfs: util: don't fallthrough to to end-of-switch
lib/libzfs/os/linux/libzfs_util_os.c:262:3: error: fallthrough
annotation does not directly precede switch label
zfs_fallthrough;
^
./lib/libspl/include/sys/feature_tests.h:34:26: note: expanded from
macro 'zfs_fallthrough'
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13348
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libzfs/os/linux/libzfs_util_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libzfs/os/linux/libzfs_util_os.c b/lib/libzfs/os/linux/libzfs_util_os.c index ec62b003c..712f80947 100644 --- a/lib/libzfs/os/linux/libzfs_util_os.c +++ b/lib/libzfs/os/linux/libzfs_util_os.c @@ -259,7 +259,7 @@ zfs_userns(zfs_handle_t *zhp, const char *nspath, int attach) "pools can not be namespaced")); return (zfs_error(hdl, EZFS_BADTYPE, errbuf)); case ZFS_TYPE_FILESYSTEM: - zfs_fallthrough; + break; } assert(zhp->zfs_type == ZFS_TYPE_FILESYSTEM); |