Unverified Commit d46a7b21 authored by Max Kellermann's avatar Max Kellermann Committed by Christian Brauner
Browse files

fs/netfs: remove unused enum choice NETFS_READ_HOLE_CLEAR



This choice was added by commit 3a11b3a8 ("netfs: Pass more
information on how to deal with a hole in the cache") but the last
user was removed by commit 86b374d0 ("netfs: Remove
fs/netfs/io.c").

Signed-off-by: default avatarMax Kellermann <max.kellermann@ionos.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/20250519134813.2975312-6-dhowells@redhat.com


cc: Paulo Alcantara <pc@manguebit.com>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 9fcf235e
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -498,9 +498,6 @@ static inline void fscache_end_operation(struct netfs_cache_resources *cres)
 *
 *	NETFS_READ_HOLE_IGNORE - Just try to read (may return a short read).
 *
 *	NETFS_READ_HOLE_CLEAR - Seek for data, clearing the part of the buffer
 *				skipped over, then do as for IGNORE.
 *
 *	NETFS_READ_HOLE_FAIL - Give ENODATA if we encounter a hole.
 */
static inline
+0 −1
Original line number Diff line number Diff line
@@ -318,7 +318,6 @@ struct netfs_request_ops {
 */
enum netfs_read_from_hole {
	NETFS_READ_HOLE_IGNORE,
	NETFS_READ_HOLE_CLEAR,
	NETFS_READ_HOLE_FAIL,
};