diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-03-10 18:55:30 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2021-03-12 15:10:03 +0100 |
commit | ccf953d8f3d68e85e577e843fdcde8872b0a9769 (patch) | |
tree | 2c97a42bc4cf623c7ef0e76b44c2a454c6df6273 /include/linux/fb.h | |
parent | 8613385cb2856e2ee9c4efb1f95eeaca0e1a0963 (diff) |
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) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210310185530.1053320-1-willy@infradead.org
Diffstat (limited to 'include/linux/fb.h')
-rw-r--r-- | include/linux/fb.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h index ecfbcc0553a5..a8dccd23c249 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h @@ -659,9 +659,6 @@ static inline void __fb_pad_aligned_buffer(u8 *dst, u32 d_pitch, /* drivers/video/fb_defio.c */ int fb_deferred_io_mmap(struct fb_info *info, struct vm_area_struct *vma); extern void fb_deferred_io_init(struct fb_info *info); -extern void fb_deferred_io_open(struct fb_info *info, - struct inode *inode, - struct file *file); extern void fb_deferred_io_cleanup(struct fb_info *info); extern int fb_deferred_io_fsync(struct file *file, loff_t start, loff_t end, int datasync); |