diff options
author | Milan Broz <mbroz@redhat.com> | 2006-06-26 11:27:27 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 20:58:35 +0400 |
commit | 143535396c7ebd9395a931a000b3963f457712b8 (patch) | |
tree | 725203a6ed6be6c795fa0f0441aa1b91f5ea8721 /drivers/md/dm-log.c | |
parent | e4c8b3ba34cc1aeab451c7a5cc843c5fd62cbe3d (diff) | |
download | linux-143535396c7ebd9395a931a000b3963f457712b8.tar.xz |
[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 <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/dm-log.c')
0 files changed, 0 insertions, 0 deletions