From: Milan Broz Date: Mon, 26 Jun 2006 07:27:27 +0000 (-0700) Subject: [PATCH] dm table: get_target: fix last index X-Git-Tag: v2.6.18-rc1~660 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=143535396c7ebd9395a931a000b3963f457712b8;p=pandora-kernel.git [PATCH] dm table: get_target: fix last index The table is indexed from 0, so an index equal to t->num_targets should be rejected. (There is no code in the current tree that would exercise this bug.) Signed-off-by: Milan Broz Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed