summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorYan <yanzheng@21cn.com>2007-10-29 12:01:05 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:57 -0400
commitb56baf5bedccd3258643b09289f17ceab3ddea52 (patch)
treeeb493a33d091f32deed028c4e66de0e9342c7628 /fs/btrfs/file.c
parent689f9346612d96ab93890160cf2fe0df5217ab73 (diff)
downloadlinux-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/file.c')
0 files changed, 0 insertions, 0 deletions