zonefs: Reorganize code
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Fri, 25 Nov 2022 00:39:33 +0000 (09:39 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Apr 2023 10:10:34 +0000 (12:10 +0200)
commita624b4796f38b0859043249f02bcf09f43d35dd4
treebffc0186565f32d2914a4330df303ce27083481d
parent9dad2690b1269a75cb8e7de87ecdcc2d2550aed2
zonefs: Reorganize code

[ Upstream commit 4008e2a0b01aba982356fd15b128a47bf11bd9c7 ]

Move all code related to zone file operations from super.c to the new
file.c file. Inode and zone management code remains in super.c.

Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Stable-dep-of: 88b170088ad2 ("zonefs: Fix error message in zonefs_file_dio_append()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/zonefs/Makefile
fs/zonefs/file.c [new file with mode: 0644]
fs/zonefs/super.c
fs/zonefs/zonefs.h