summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2023-05-02 21:43:41 +0300
committerKeith Busch <kbusch@kernel.org>2023-12-04 19:39:03 +0300
commit7be866b1cf0bf1dfa74480fe8097daeceda68622 (patch)
treef2e902d55e20da6d2577083bf95c661ed888c06c /scripts/gdb/linux/tasks.py
parente6e7f7ac03e40795346f1b2994a05f507ad8d345 (diff)
downloadlinux-7be866b1cf0bf1dfa74480fe8097daeceda68622.tar.xz
nvme-ioctl: move capable() admin check to the end
This can be an expensive call on some kernel configs. Move it to the end after checking the cheaper ways to determine if the command is allowed. Reviewed-by: Jens Axboe <axboe@kernel.dk> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions