summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2024-02-22 20:18:48 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2024-02-29 08:34:33 -0800
commite24e8333d0f3110473c6e6a20afd51911984e901 (patch)
tree94dbca4e8b775d910c980bc0dde68ce4dadbfa48 /fs/f2fs
parent0f1c6ede6da9f7c5dd7380b74a64850298279168 (diff)
downloadlinux-e24e8333d0f3110473c6e6a20afd51911984e901.tar.gz
linux-e24e8333d0f3110473c6e6a20afd51911984e901.tar.bz2
linux-e24e8333d0f3110473c6e6a20afd51911984e901.zip
f2fs: delete f2fs_get_new_segment() declaration
Commit 093749e296e2 ("f2fs: support age threshold based garbage collection") added this declaration, but w/ definition, delete it. Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/f2fs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 9a3f6ea51e5a..68a5003014b7 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -3700,8 +3700,6 @@ bool f2fs_segment_has_free_slot(struct f2fs_sb_info *sbi, int segno);
void f2fs_init_inmem_curseg(struct f2fs_sb_info *sbi);
void f2fs_save_inmem_curseg(struct f2fs_sb_info *sbi);
void f2fs_restore_inmem_curseg(struct f2fs_sb_info *sbi);
-void f2fs_get_new_segment(struct f2fs_sb_info *sbi,
- unsigned int *newseg, bool new_sec, int dir);
void f2fs_allocate_segment_for_resize(struct f2fs_sb_info *sbi, int type,
unsigned int start, unsigned int end);
int f2fs_allocate_new_section(struct f2fs_sb_info *sbi, int type, bool force);