Btrfs: fix array bound checking
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 6 Sep 2011 08:55:34 +0000 (16:55 +0800)
committerDavid Sterba <dsterba@suse.cz>
Thu, 20 Oct 2011 16:10:41 +0000 (18:10 +0200)
commita05a9bb18ae0abec0b513b5fde876c47905fa13e
tree80a74076bdbb86da8f02a209603526e5c0f524bb
parentf4c697e6406da5dd445eda8d923c53e1138793dd
Btrfs: fix array bound checking

Otherwise we can execced the array bound of path->slots[].

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
fs/btrfs/ctree.c