Whamcloud - gitweb
LU-14587 ptlrpc: remove LASSERT in nrs_polices proc handler 68/45568/2
authorLei Feng <flei@whamcloud.com>
Tue, 12 Oct 2021 06:33:22 +0000 (14:33 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 17 Nov 2021 18:45:05 +0000 (18:45 +0000)
commit434a56fc6650eb67da50aad471943d32b67c7dda
tree9e6c6d119b32a327c51d4b90f0d82bf2be2d84a1
parente1d132acf58c3e6a90a527a0a09cdd0fff7fc392
LU-14587 ptlrpc: remove LASSERT in nrs_polices proc handler

It's not necessary to LASSERT() in nrs_polices proc handler.
CERROR() and returning error is good enough.

Lustre-change: https://review.whamcloud.com/45200
Lustre-commit: 9997f94d4b6ee335d2bf86f94bd43464d5b8f061

Signed-off-by: Lei Feng <flei@whamcloud.com>
Test-Parameters: trivial
Change-Id: I09f06dc4ab90e49b2df66a9b47a74678c64cdd2f
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/45568
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ptlrpc/lproc_ptlrpc.c