Whamcloud - gitweb
LU-14587 ptlrpc: remove LASSERT in nrs_polices proc handler 00/45200/3
authorLei Feng <flei@whamcloud.com>
Tue, 12 Oct 2021 06:33:22 +0000 (14:33 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Nov 2021 02:37:25 +0000 (02:37 +0000)
commit9997f94d4b6ee335d2bf86f94bd43464d5b8f061
tree1764ac936f61ffe99ba5a6d042abdb36361854a4
parent5c766b005bf3e0bca0efa9d87ccf230e7cba97cc
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.

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