summaryrefslogtreecommitdiff
path: root/volumes.c
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2016-09-08 12:29:10 +0100
committerDimitri John Ledkov <xnox@ubuntu.com>2016-09-08 12:29:10 +0100
commit249a3592d5dfdec0e52b5e9e712339364ea758ed (patch)
tree54a81f37cfdccbb5ba1d3c925e6fd9261311550e /volumes.c
parentca0dc13dd212ef8ca19fa6128115fe933b055437 (diff)
New upstream release. (Closes: #836778)debian/4.7.2-1
Diffstat (limited to 'volumes.c')
-rw-r--r--volumes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/volumes.c b/volumes.c
index 9a5580ae..2d07e66a 100644
--- a/volumes.c
+++ b/volumes.c
@@ -1614,10 +1614,10 @@ static struct btrfs_device *fill_missing_device(u64 devid)
* slot == -1: SYSTEM chunk
* return -EIO on error, otherwise return 0
*/
-static int btrfs_check_chunk_valid(struct btrfs_root *root,
- struct extent_buffer *leaf,
- struct btrfs_chunk *chunk,
- int slot, u64 logical)
+int btrfs_check_chunk_valid(struct btrfs_root *root,
+ struct extent_buffer *leaf,
+ struct btrfs_chunk *chunk,
+ int slot, u64 logical)
{
u64 length;
u64 stripe_len;