summaryrefslogtreecommitdiff
path: root/fs/smbfs_common
diff options
context:
space:
mode:
authorwuchi <wuchi.zero@gmail.com>2022-09-03 16:52:33 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-09-12 07:55:12 +0300
commitb814751175470b00969a317bf3192260750f9455 (patch)
tree6cdb3665e3f05449771b5c27c1591dc9982feb0d /fs/smbfs_common
parentbfca3dd3d0680fc2fc7f659a152234afbac26e4d (diff)
downloadlinux-b814751175470b00969a317bf3192260750f9455.tar.xz
latencytop: use the last element of latency_record of system
In account_global_scheduler_latency(), when we don't find the matching latency_record we try to select one which is unused in latency_record[MAXLR], but the condition will skip the last one. if (i >= MAXLR-1) Fix that. Link: https://lkml.kernel.org/r/20220903135233.5225-1-wuchi.zero@gmail.com Signed-off-by: wuchi <wuchi.zero@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foudation.org> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/smbfs_common')
0 files changed, 0 insertions, 0 deletions