Whamcloud - gitweb
LU-9121 lnet: ioctl handler for "delete policy"
authorSonia Sharma <sharmaso@whamcloud.com>
Fri, 29 Mar 2019 08:19:35 +0000 (04:19 -0400)
committerAmir Shehata <ashehata@whamcloud.com>
Mon, 22 Feb 2021 17:10:57 +0000 (09:10 -0800)
commit8258e7235c7047b927b02acaf67ad5b69a62e025
tree893a814a2293ca8cb2a12e5890a1525dadf46f99
parent1fdb21ac697c3686d19fca5ac045f8b0edc3edd3
LU-9121 lnet: ioctl handler for "delete policy"

The ioctl handler for "delete policy" deletes
a policy with the given index value. It
returns 0 if a policy with that index is found
else it returns -EINVAL.

Change-Id: I037c6808e71e5c13ccf46c243145b0ce6f1229cb
Test-Parameters: trivial testlist=lnet-selftest,sanity-lnet
Signed-off-by: Sonia Sharma <sharmaso@whamcloud.com>
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34552
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
lnet/include/uapi/linux/lnet/libcfs_ioctl.h
lnet/lnet/api-ni.c