summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2022-04-27 19:02:53 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2022-05-06 20:18:11 +0300
commitd46db4595be680bf9facb783fb95cf03b85f1d05 (patch)
tree309c32731de9f6b6293e003ce903f5d471ec620e /scripts/gdb/linux/proc.py
parent4de851459ea65ac8cf4313af648ec9cf16b72562 (diff)
downloadlinux-d46db4595be680bf9facb783fb95cf03b85f1d05.tar.xz
f2fs: call bdev_zone_sectors() only once on init_blkz_info()
Instead of calling bdev_zone_sectors() multiple times, call it once and cache the value locally. This will make the subsequent change easier to read. Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Pankaj Raghav <p.raghav@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions