From 31cf3f177823362a42bf4630ec85370ea768ddf1 Mon Sep 17 00:00:00 2001 From: Alexey Charkov Date: Fri, 26 Jun 2026 19:18:22 +0400 Subject: fs: btrfs: use fs_ls_generic() and drop custom implementation Now that generic callbacks for opendir/readdir/closedir are implemented, the custom btrfs_ls() implementation is no longer needed, along with the btrfs_iter_dir() callback iterator. Use fs_ls_generic() instead. Signed-off-by: Alexey Charkov Reviewed-by: Qu Wenruo --- include/btrfs.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/btrfs.h b/include/btrfs.h index 6fff45a497e..3878b7817ea 100644 --- a/include/btrfs.h +++ b/include/btrfs.h @@ -15,7 +15,6 @@ struct fs_dirent; int btrfs_probe(struct blk_desc *fs_dev_desc, struct disk_partition *fs_partition); -int btrfs_ls(const char *); int btrfs_exists(const char *); int btrfs_size(const char *, loff_t *); int btrfs_read(const char *, void *, loff_t, loff_t, loff_t *); -- cgit v1.3.1