diff options
author | Milan Broz <mbroz@redhat.com> | 2006-06-26 09:27:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 18:58:35 +0200 |
commit | 143535396c7ebd9395a931a000b3963f457712b8 (patch) | |
tree | 725203a6ed6be6c795fa0f0441aa1b91f5ea8721 /drivers/md/dm-log.c | |
parent | [PATCH] dm: mirror sector offset fix (diff) | |
download | linux-143535396c7ebd9395a931a000b3963f457712b8.tar.xz linux-143535396c7ebd9395a931a000b3963f457712b8.zip |
[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