]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
brd: re-enable __GFP_HIGHMEM in brd_insert_page()
authorHou Tao <houtao1@huawei.com>
Mon, 22 Apr 2019 13:23:21 +0000 (21:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 May 2019 16:22:01 +0000 (18:22 +0200)
commite2d95e6022f92215034e178db5d6d618699aaa9d
tree52f90827e12f74fabf4311b8b207919cd40b76fd
parent019da3cf8d2d90837d16ea731def0d0e913f1995
brd: re-enable __GFP_HIGHMEM in brd_insert_page()

commit f6b50160a06d4a0d6a3999ab0c5aec4f52dba248 upstream.

__GFP_HIGHMEM is disabled if dax is enabled on brd, however
dax support for brd has been removed since commit (7a862fbbdec6
"brd: remove dax support"), so restore __GFP_HIGHMEM in
brd_insert_page().

Also remove the no longer applicable comments about DAX and highmem.

Cc: stable@vger.kernel.org
Fixes: 7a862fbbdec6 ("brd: remove dax support")
Signed-off-by: Hou Tao <houtao1@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/brd.c