]> Git Repo - linux.git/commit - fs/btrfs/ctree.h
btrfs: Fix superblock csum type check.
authorQu Wenruo <[email protected]>
Tue, 5 May 2015 02:53:15 +0000 (10:53 +0800)
committerChris Mason <[email protected]>
Wed, 3 Jun 2015 02:34:35 +0000 (19:34 -0700)
commit1f6e4b3f9f7c859fed7ac4c0853e976a1a752873
treefa34f3f76af7b12888fc285cb044fa495d242432
parent619d8c4ef7c5dd346add55da82c9179cd2e3387e
btrfs: Fix superblock csum type check.

Old csum type check is wrong and can't catch csum_type 1(not supported).

Fix it to avoid hostile 0 division.

Reported-by: Lukas Lueg <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/ctree.h
This page took 0.050403 seconds and 4 git commands to generate.