Skip to content

Commit af07560

Browse files
committed
ns: drop assert
Otherwise we warn when e.g., no namespaces are configured but the initial namespace for is still around. Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 4055526 commit af07560

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

kernel/nscommon.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ static void ns_debug(struct ns_common *ns, const struct proc_ns_operations *ops)
4646
VFS_WARN_ON_ONCE(ops != &utsns_operations);
4747
break;
4848
#endif
49-
default:
50-
VFS_WARN_ON_ONCE(true);
5149
}
5250
}
5351
#endif

0 commit comments

Comments
 (0)