diff options
| author | Filipe Manana <[email protected]> | 2024-04-11 11:30:59 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-05-07 19:31:04 +0000 |
| commit | 5e485ac6f0f34126ba82267c09cc5ab38cee8908 (patch) | |
| tree | ba465779cc5baa362fdb3c596ccd26d34e729ec6 /fs/btrfs/btrfs_inode.h | |
| parent | btrfs: simplify add_extent_mapping() by removing pointless label (diff) | |
| download | kernel-5e485ac6f0f34126ba82267c09cc5ab38cee8908.tar.gz kernel-5e485ac6f0f34126ba82267c09cc5ab38cee8908.zip | |
btrfs: export find_next_inode() as btrfs_find_first_inode()
Export the relocation private helper find_next_inode() to inode.c, as this
same logic is also used at btrfs_prune_dentries() and will be used by an
upcoming change that adds an extent map shrinker. The next patch will
change btrfs_prune_dentries() to use this helper.
Reviewed-by: Qu Wenruo <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
| -rw-r--r-- | fs/btrfs/btrfs_inode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h index ed8bd15aa3e2..9a87ada7fe52 100644 --- a/fs/btrfs/btrfs_inode.h +++ b/fs/btrfs/btrfs_inode.h @@ -543,6 +543,7 @@ ssize_t btrfs_dio_read(struct kiocb *iocb, struct iov_iter *iter, size_t done_before); struct iomap_dio *btrfs_dio_write(struct kiocb *iocb, struct iov_iter *iter, size_t done_before); +struct btrfs_inode *btrfs_find_first_inode(struct btrfs_root *root, u64 min_ino); extern const struct dentry_operations btrfs_dentry_operations; |
