r with either of those, we can remove them
completely.
Acked-by: Al Viro
Reviewed-by: Jan Kara
Reviewed-by: Matthew Wilcox (Oracle)
Reviewed-by: Christoph Hellwig
Signed-off-by: Xueshi Hu
---
Changes in v3:
- correct the rationale of removal three empty aops
- v2: https://lore.kernel.org/li
In folio_mark_dirty(), it can automatically fallback to
noop_dirty_folio() if a_ops->dirty_folio is not registered.
As anon_aops, dev_dax_aops and fb_deferred_io_aops becames empty, remove
them too.
Signed-off-by: Xueshi Hu
---
Changes in v2:
- make noop_dirty_folio() inline as suggested
In folio_mark_dirty(), it will automatically fallback to
noop_dirty_folio() if a_ops->dirty_folio is not registered.
As anon_aops, dev_dax_aops and fb_deferred_io_aops becames empty, remove
them too.
Signed-off-by: Xueshi Hu
---
drivers/dax/device.c| 5 -
drivers/vi