Loading Documentation/filesystems/netfs_library.rst +0 −1 Original line number Diff line number Diff line Loading @@ -142,7 +142,6 @@ Three read helpers are provided:: struct address_space *mapping, loff_t pos, unsigned int len, unsigned int flags, struct folio **_folio, void **_fsdata); Loading fs/9p/vfs_addr.c +1 −1 Original line number Diff line number Diff line Loading @@ -275,7 +275,7 @@ static int v9fs_write_begin(struct file *filp, struct address_space *mapping, * file. We need to do this before we get a lock on the page in case * there's more than one writer competing for the same cache block. */ retval = netfs_write_begin(filp, mapping, pos, len, flags, &folio, fsdata); retval = netfs_write_begin(filp, mapping, pos, len, &folio, fsdata); if (retval < 0) return retval; Loading fs/afs/write.c +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ int afs_write_begin(struct file *file, struct address_space *mapping, * file. We need to do this before we get a lock on the page in case * there's more than one writer competing for the same cache block. */ ret = netfs_write_begin(file, mapping, pos, len, flags, &folio, fsdata); ret = netfs_write_begin(file, mapping, pos, len, &folio, fsdata); if (ret < 0) return ret; Loading fs/ceph/addr.c +1 −1 Original line number Diff line number Diff line Loading @@ -1318,7 +1318,7 @@ static int ceph_write_begin(struct file *file, struct address_space *mapping, struct folio *folio = NULL; int r; r = netfs_write_begin(file, inode->i_mapping, pos, len, 0, &folio, NULL); r = netfs_write_begin(file, inode->i_mapping, pos, len, &folio, NULL); if (r == 0) folio_wait_fscache(folio); if (r < 0) { Loading fs/netfs/buffered_read.c +2 −2 Original line number Diff line number Diff line Loading @@ -328,8 +328,8 @@ static bool netfs_skip_folio_read(struct folio *folio, loff_t pos, size_t len, * This is usable whether or not caching is enabled. */ int netfs_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned int len, unsigned int aop_flags, struct folio **_folio, void **_fsdata) loff_t pos, unsigned int len, struct folio **_folio, void **_fsdata) { struct netfs_io_request *rreq; struct netfs_i_context *ctx = netfs_i_context(file_inode(file )); Loading Loading
Documentation/filesystems/netfs_library.rst +0 −1 Original line number Diff line number Diff line Loading @@ -142,7 +142,6 @@ Three read helpers are provided:: struct address_space *mapping, loff_t pos, unsigned int len, unsigned int flags, struct folio **_folio, void **_fsdata); Loading
fs/9p/vfs_addr.c +1 −1 Original line number Diff line number Diff line Loading @@ -275,7 +275,7 @@ static int v9fs_write_begin(struct file *filp, struct address_space *mapping, * file. We need to do this before we get a lock on the page in case * there's more than one writer competing for the same cache block. */ retval = netfs_write_begin(filp, mapping, pos, len, flags, &folio, fsdata); retval = netfs_write_begin(filp, mapping, pos, len, &folio, fsdata); if (retval < 0) return retval; Loading
fs/afs/write.c +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ int afs_write_begin(struct file *file, struct address_space *mapping, * file. We need to do this before we get a lock on the page in case * there's more than one writer competing for the same cache block. */ ret = netfs_write_begin(file, mapping, pos, len, flags, &folio, fsdata); ret = netfs_write_begin(file, mapping, pos, len, &folio, fsdata); if (ret < 0) return ret; Loading
fs/ceph/addr.c +1 −1 Original line number Diff line number Diff line Loading @@ -1318,7 +1318,7 @@ static int ceph_write_begin(struct file *file, struct address_space *mapping, struct folio *folio = NULL; int r; r = netfs_write_begin(file, inode->i_mapping, pos, len, 0, &folio, NULL); r = netfs_write_begin(file, inode->i_mapping, pos, len, &folio, NULL); if (r == 0) folio_wait_fscache(folio); if (r < 0) { Loading
fs/netfs/buffered_read.c +2 −2 Original line number Diff line number Diff line Loading @@ -328,8 +328,8 @@ static bool netfs_skip_folio_read(struct folio *folio, loff_t pos, size_t len, * This is usable whether or not caching is enabled. */ int netfs_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned int len, unsigned int aop_flags, struct folio **_folio, void **_fsdata) loff_t pos, unsigned int len, struct folio **_folio, void **_fsdata) { struct netfs_io_request *rreq; struct netfs_i_context *ctx = netfs_i_context(file_inode(file )); Loading