fdp: fix placement id check
authorAnkit Kumar <ankit.kumar@samsung.com>
Wed, 12 Jul 2023 10:20:39 +0000 (15:50 +0530)
committerVincent Fu <vincent.fu@samsung.com>
Thu, 13 Jul 2023 16:38:14 +0000 (12:38 -0400)
commit154d27e6b6d51461db4869d80a7e5b9f8fb1d93f
treefad57881f764f1e48b8fa2256f36e1950d159aca
parent98cd3c0e705c91628c87bf27f03d42b4f34353c1
fdp: fix placement id check

Number of reclaim unit handle descriptors are 1 based, whereas the
input placement id index / indices are 0 based. Add the correct check
for that.

Fixes: a7e8aae0 ("fio: add fdp support ..")

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
fdp.c