Skip to content

Commit c1a606c

Browse files
MaxKellermannbrauner
authored andcommitted
fs/netfs: remove unused flag NETFS_SREQ_SEEK_DATA_READ
This flag was added by commit 3d3c950 ("netfs: Provide readahead and readpage netfs helpers") but its only user was removed by commit 86b374d ("netfs: Remove fs/netfs/io.c"). Signed-off-by: Max Kellermann <[email protected]> Signed-off-by: David Howells <[email protected]> Link: https://lore.kernel.org/[email protected] cc: Paulo Alcantara <[email protected]> cc: [email protected] cc: [email protected] Signed-off-by: Christian Brauner <[email protected]>
1 parent a1b4a25 commit c1a606c

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

Documentation/filesystems/netfs_library.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -712,11 +712,6 @@ handle falling back from one source type to another. The members are:
712712
at a boundary with the filesystem structure (e.g. at the end of a Ceph
713713
object). It tells netfslib not to retile subrequests across it.
714714

715-
* ``NETFS_SREQ_SEEK_DATA_READ``
716-
717-
This is a hint from netfslib to the cache that it might want to try
718-
skipping ahead to the next data (ie. using SEEK_DATA).
719-
720715
* ``error``
721716

722717
This is for the filesystem to store result of the subrequest. It should be

include/linux/netfs.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ struct netfs_io_subrequest {
191191
unsigned long flags;
192192
#define NETFS_SREQ_COPY_TO_CACHE 0 /* Set if should copy the data to the cache */
193193
#define NETFS_SREQ_CLEAR_TAIL 1 /* Set if the rest of the read should be cleared */
194-
#define NETFS_SREQ_SEEK_DATA_READ 3 /* Set if ->read() should SEEK_DATA first */
195194
#define NETFS_SREQ_MADE_PROGRESS 4 /* Set if we transferred at least some data */
196195
#define NETFS_SREQ_ONDEMAND 5 /* Set if it's from on-demand read mode */
197196
#define NETFS_SREQ_BOUNDARY 6 /* Set if ends on hard boundary (eg. ceph object) */

0 commit comments

Comments
 (0)