]> git.karo-electronics.de Git - linux-beck.git/blobdiff - fs/btrfs/ctree.h
Btrfs: fixup error handling in btrfs_reloc_cow
[linux-beck.git] / fs / btrfs / ctree.h
index 3c1da6f98a4d25666f4a2afb6fce25bff80ac8c8..2491ba076b42dd381a2b4f5033e7569af7e8a984 100644 (file)
@@ -3939,9 +3939,9 @@ int btrfs_update_reloc_root(struct btrfs_trans_handle *trans,
                            struct btrfs_root *root);
 int btrfs_recover_relocation(struct btrfs_root *root);
 int btrfs_reloc_clone_csums(struct inode *inode, u64 file_pos, u64 len);
-void btrfs_reloc_cow_block(struct btrfs_trans_handle *trans,
-                          struct btrfs_root *root, struct extent_buffer *buf,
-                          struct extent_buffer *cow);
+int btrfs_reloc_cow_block(struct btrfs_trans_handle *trans,
+                         struct btrfs_root *root, struct extent_buffer *buf,
+                         struct extent_buffer *cow);
 void btrfs_reloc_pre_snapshot(struct btrfs_trans_handle *trans,
                              struct btrfs_pending_snapshot *pending,
                              u64 *bytes_to_reserve);