History

fs: Convert netfs_readpage to netfs_read_folio

This is straightforward because netfs already worked in terms of folios.

Matthew Wilcox (Oracle) committed 4 years ago

Commit 6c623711 parent 08830c85 files · +11 −12Browse files

Showing the changes to include (1 of 5 files). Show all

Unified · Split

include/linux/netfs.h+1−1
@@ -274,7 +274,7 @@ struct netfs_cache_ops { · 273 unmodified lines
274 274
275struct readahead_control;275struct readahead_control;
276extern void netfs_readahead(struct readahead_control *);276extern void netfs_readahead(struct readahead_control *);
277extern int netfs_readpage(struct file *, struct page *);277int netfs_read_folio(struct file *, struct folio *);
278extern int netfs_write_begin(struct file *, struct address_space *,278extern int netfs_write_begin(struct file *, struct address_space *,
279 loff_t, unsigned int, struct folio **,279 loff_t, unsigned int, struct folio **,
280 void **);280 void **);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t