[Cluster-devel] [PATCH 31/30] iomap: move iomap iteration code to iter.c
Dave Chinner
david at fromorbit.com
Tue Aug 17 02:37:02 UTC 2021
On Wed, Aug 11, 2021 at 12:19:26PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong at kernel.org>
>
> Now that we've moved iomap to the iterator model, rename this file to be
> in sync with the functions contained inside of it.
>
> Signed-off-by: Darrick J. Wong <djwong at kernel.org>
> ---
> fs/iomap/Makefile | 2 +-
> fs/iomap/iter.c | 0
> 2 files changed, 1 insertion(+), 1 deletion(-)
> rename fs/iomap/{apply.c => iter.c} (100%)
>
> diff --git a/fs/iomap/Makefile b/fs/iomap/Makefile
> index e46f936dde81..bb64215ae256 100644
> --- a/fs/iomap/Makefile
> +++ b/fs/iomap/Makefile
> @@ -26,9 +26,9 @@ ccflags-y += -I $(srctree)/$(src) # needed for trace events
> obj-$(CONFIG_FS_IOMAP) += iomap.o
>
> iomap-y += trace.o \
> - apply.o \
> buffered-io.o \
> direct-io.o \
> fiemap.o \
> + iter.o \
> seek.o
> iomap-$(CONFIG_SWAP) += swapfile.o
> diff --git a/fs/iomap/apply.c b/fs/iomap/iter.c
> similarity index 100%
> rename from fs/iomap/apply.c
> rename to fs/iomap/iter.c
LGTM,
Reviewed-by: Dave Chinner <dchinner at redhat.com>
--
Dave Chinner
david at fromorbit.com
More information about the Cluster-devel
mailing list