#ifndef __BTRFS_TRANSACTION_H__
#define __BTRFS_TRANSACTION_H__
+#include "kerncompat.h"
+#include "ctree.h"
+
struct btrfs_trans_handle {
u64 transid;
u64 alloc_exclude_start;
return h;
}
-static inline void btrfs_free_transaction(struct btrfs_root *root,
- struct btrfs_trans_handle *handle)
-{
- memset(handle, 0, sizeof(*handle));
- free(handle);
-}
-
#endif