diff options
author | Gustavo A. R. Silva | 2018-07-31 21:18:44 -0500 |
---|---|---|
committer | Anna Schumaker | 2018-08-08 16:50:02 -0400 |
commit | 01e03bdc745bf2b86fadfc44e57512fd39f9d54f (patch) | |
tree | 12e75864acd588be1411a0f518c6bde22c88426c /fs/nfs/pagelist.c | |
parent | c8d07159c93150c25c3319df3d53cfc6dd46d3ee (diff) |
NFS: Mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Warning level 2 was used: -Wimplicit-fallthrough=2
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/pagelist.c')
-rw-r--r-- | fs/nfs/pagelist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c index 67d19cd92e44..bb5476a6d264 100644 --- a/fs/nfs/pagelist.c +++ b/fs/nfs/pagelist.c @@ -561,6 +561,7 @@ static void nfs_pgio_rpcsetup(struct nfs_pgio_header *hdr, case FLUSH_COND_STABLE: if (nfs_reqs_to_commit(cinfo)) break; + /* fall through */ default: hdr->args.stable = NFS_FILE_SYNC; } |