mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
btrfs: document btrfs_check_shared parameters
Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
2639631d34
commit
6e353e3b3c
1 changed files with 7 additions and 1 deletions
|
@ -1501,7 +1501,13 @@ int btrfs_find_all_roots(struct btrfs_trans_handle *trans,
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* btrfs_check_shared - tell us whether an extent is shared
|
* Check if an extent is shared or not
|
||||||
|
*
|
||||||
|
* @root: root inode belongs to
|
||||||
|
* @inum: inode number of the inode whose extent we are checking
|
||||||
|
* @bytenr: logical bytenr of the extent we are checking
|
||||||
|
* @roots: list of roots this extent is shared among
|
||||||
|
* @tmp: temporary list used for iteration
|
||||||
*
|
*
|
||||||
* btrfs_check_shared uses the backref walking code but will short
|
* btrfs_check_shared uses the backref walking code but will short
|
||||||
* circuit as soon as it finds a root or inode that doesn't match the
|
* circuit as soon as it finds a root or inode that doesn't match the
|
||||||
|
|
Loading…
Reference in a new issue