diff options
author | Yan <yanzheng@21cn.com> | 2007-10-29 12:01:05 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:57 -0400 |
commit | b56baf5bedccd3258643b09289f17ceab3ddea52 (patch) | |
tree | eb493a33d091f32deed028c4e66de0e9342c7628 /fs/btrfs/print-tree.c | |
parent | 689f9346612d96ab93890160cf2fe0df5217ab73 (diff) | |
download | linux-stable-b56baf5bedccd3258643b09289f17ceab3ddea52.tar.gz linux-stable-b56baf5bedccd3258643b09289f17ceab3ddea52.tar.bz2 linux-stable-b56baf5bedccd3258643b09289f17ceab3ddea52.zip |
Minor fix for btrfs_csum_file_block.
Execution should goto label 'insert' when 'btrfs_next_leaf' return a
non-zero value, otherwise the parameter 'slot' for
'btrfs_item_key_to_cpu' may be out of bounds. The original codes jump
to label 'insert' only when 'btrfs_next_leaf' return a negative
value.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/print-tree.c')
0 files changed, 0 insertions, 0 deletions