diff options
| author | 2022-07-05 16:22:02 +0200 | |
|---|---|---|
| committer | 2022-07-07 07:30:36 +0900 | |
| commit | 6bac30bb8ff8195cbcfc177b3b6b0732929170c1 (patch) | |
| tree | 526308426343f510b5e5fa9005a9d61f5ab8ae8a /kernel/debug/ssh:/git@git.zx2c4.com | |
| parent | Linux 5.19-rc5 (diff) | |
| download | linux-dev-6bac30bb8ff8195cbcfc177b3b6b0732929170c1.tar.xz linux-dev-6bac30bb8ff8195cbcfc177b3b6b0732929170c1.zip | |
zonefs: Call page_address() on page acquired with GFP_KERNEL flag
zonefs_read_super() acquires a page with alloc_page(GFP_KERNEL). That
page cannot come from ZONE_HIGHMEM, thus there's no need to map it with
kmap().
Therefore, use a plain page_address() on that page.
Suggested-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'kernel/debug/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
