diff options
author | Fabio M. De Francesco <fmdefrancesco@gmail.com> | 2022-07-05 16:22:02 +0200 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-07-07 07:30:36 +0900 |
commit | 6bac30bb8ff8195cbcfc177b3b6b0732929170c1 (patch) | |
tree | 526308426343f510b5e5fa9005a9d61f5ab8ae8a /fs/jbd2 | |
parent | 88084a3df1672e131ddc1b4e39eeacfd39864acf (diff) |
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 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions