btrfs: use bool for return type of btrfs_block_can_be_shared()
[linux-2.6-block.git] / fs / btrfs / ctree.h
index 99fe28bc013bc8d730bd309809575a20e3835ff5..9c0800f5bdcb6c7348c8de29e62f4ecd0ff2aeff 100644 (file)
@@ -558,9 +558,9 @@ int btrfs_copy_root(struct btrfs_trans_handle *trans,
                      struct btrfs_root *root,
                      struct extent_buffer *buf,
                      struct extent_buffer **cow_ret, u64 new_root_objectid);
-int btrfs_block_can_be_shared(struct btrfs_trans_handle *trans,
-                             struct btrfs_root *root,
-                             struct extent_buffer *buf);
+bool btrfs_block_can_be_shared(struct btrfs_trans_handle *trans,
+                              struct btrfs_root *root,
+                              struct extent_buffer *buf);
 int btrfs_del_ptr(struct btrfs_trans_handle *trans, struct btrfs_root *root,
                  struct btrfs_path *path, int level, int slot);
 void btrfs_extend_item(struct btrfs_trans_handle *trans,