diff options
author | Luis Chamberlain <[email protected]> | 2022-04-27 18:02:53 +0200 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2022-05-06 10:18:11 -0700 |
commit | d46db4595be680bf9facb783fb95cf03b85f1d05 (patch) | |
tree | 309c32731de9f6b6293e003ce903f5d471ec620e /net/lapb/lapb_subr.c | |
parent | 4de851459ea65ac8cf4313af648ec9cf16b72562 (diff) |
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 <[email protected]>
Signed-off-by: Pankaj Raghav <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions