Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 207f6b61 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Greg Kroah-Hartman
Browse files

staging: lustre: llite: mark expected switch fall-through



In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f85dff84
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -949,7 +949,9 @@ static int ll_mknod(struct inode *dir, struct dentry *dchild,

	switch (mode & S_IFMT) {
	case 0:
		mode |= S_IFREG; /* for mode = 0 case, fallthrough */
		mode |= S_IFREG;
		/* for mode = 0 case */
		/* fall through */
	case S_IFREG:
	case S_IFCHR:
	case S_IFBLK: