Btrfs: fix ioctl-initiated transactions vs wait_current_trans()
[linux-2.6-block.git] / fs / btrfs / transaction.h
index f5adb23151fbb44051542fccdf504432795f9671..2c73caeebb2c400ce8cabb2785b1d1a9dac0c965 100644 (file)
@@ -83,6 +83,8 @@ struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root,
                                                   int num_blocks);
 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root,
                                                   int num_blocks);
+struct btrfs_trans_handle *btrfs_start_ioctl_transaction(struct btrfs_root *r,
+                                                  int num_blocks);
 int btrfs_write_and_wait_transaction(struct btrfs_trans_handle *trans,
                                     struct btrfs_root *root);
 int btrfs_commit_tree_roots(struct btrfs_trans_handle *trans,