Commit 64947ec0 authored by Jan Schmidt's avatar Jan Schmidt

Btrfs: move struct seq_list to ctree.h

Signed-off-by: default avatarJan Schmidt <list.btrfs@jan-o-sch.net>
parent 5581a51a
...@@ -3098,4 +3098,11 @@ void btrfs_reada_detach(void *handle); ...@@ -3098,4 +3098,11 @@ void btrfs_reada_detach(void *handle);
int btree_readahead_hook(struct btrfs_root *root, struct extent_buffer *eb, int btree_readahead_hook(struct btrfs_root *root, struct extent_buffer *eb,
u64 start, int err); u64 start, int err);
/* delayed seq elem */
struct seq_list {
struct list_head list;
u64 seq;
u32 flags;
};
#endif #endif
...@@ -195,11 +195,6 @@ int btrfs_delayed_ref_lock(struct btrfs_trans_handle *trans, ...@@ -195,11 +195,6 @@ int btrfs_delayed_ref_lock(struct btrfs_trans_handle *trans,
int btrfs_find_ref_cluster(struct btrfs_trans_handle *trans, int btrfs_find_ref_cluster(struct btrfs_trans_handle *trans,
struct list_head *cluster, u64 search_start); struct list_head *cluster, u64 search_start);
struct seq_list {
struct list_head list;
u64 seq;
};
static inline u64 inc_delayed_seq(struct btrfs_delayed_ref_root *delayed_refs) static inline u64 inc_delayed_seq(struct btrfs_delayed_ref_root *delayed_refs)
{ {
assert_spin_locked(&delayed_refs->lock); assert_spin_locked(&delayed_refs->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment