btrfs: convert comments to fallthrough annotations

Convert fall through comments to the pseudo-keyword which is now the
preferred way.

Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Marcos Paulo de Souza
2020-06-16 15:54:29 -03:00
committed by David Sterba
parent b091f7fede
commit c730ae0c6b
4 changed files with 6 additions and 6 deletions

View File

@@ -408,7 +408,7 @@ static inline enum btrfs_map_op btrfs_op(struct bio *bio)
return BTRFS_MAP_WRITE;
default:
WARN_ON_ONCE(1);
/* fall through */
fallthrough;
case REQ_OP_READ:
return BTRFS_MAP_READ;
}