From 99fdae64202116489d92d878fd2ae4f1397b45d2 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Sun, 27 Aug 2017 06:01:12 -0400 Subject: mount.cifs: add fallthrough comments on fmask/dmask option cases ...to silence a couple of compiler warnings. Signed-off-by: Jeff Layton --- mount.cifs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mount.cifs.c b/mount.cifs.c index 8ca848d..ae7a899 100644 --- a/mount.cifs.c +++ b/mount.cifs.c @@ -1002,6 +1002,7 @@ parse_options(const char *data, struct parsed_mount_info *parsed_info) "WARNING: CIFS mount option 'fmask' is\ deprecated. Use 'file_mode' instead.\n"); data = "file_mode"; /* BB fix this */ + /* Fallthrough */ case OPT_FILE_MODE: if (!value || !*value) { fprintf(stderr, @@ -1022,6 +1023,7 @@ parse_options(const char *data, struct parsed_mount_info *parsed_info) "WARNING: CIFS mount option 'dmask' is\ deprecated. Use 'dir_mode' instead.\n"); data = "dir_mode"; + /* Fallthrough */ case OPT_DIR_MODE: if (!value || !*value) { fprintf(stderr, -- cgit v1.2.3