]> Git Repo - linux.git/commit
fb_defio: Remove custom address_space_operations
authorMatthew Wilcox (Oracle) <[email protected]>
Wed, 10 Mar 2021 18:55:30 +0000 (18:55 +0000)
committerDaniel Vetter <[email protected]>
Fri, 12 Mar 2021 14:10:03 +0000 (15:10 +0100)
commitccf953d8f3d68e85e577e843fdcde8872b0a9769
tree2c97a42bc4cf623c7ef0e76b44c2a454c6df6273
parent8613385cb2856e2ee9c4efb1f95eeaca0e1a0963
fb_defio: Remove custom address_space_operations

There's no need to give the page an address_space.  Leaving the
page->mapping as NULL will cause the VM to handle set_page_dirty()
the same way that it's handled now, and that was the only reason to
set the address_space in the first place.

Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: William Kucharski <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/video/fbdev/core/fb_defio.c
drivers/video/fbdev/core/fbmem.c
include/linux/fb.h
This page took 0.057149 seconds and 4 git commands to generate.