]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
Btrfs: move struct seq_list to ctree.h
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 16 May 2012 14:57:09 +0000 (16:57 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Sat, 26 May 2012 10:17:53 +0000 (12:17 +0200)
Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/ctree.h
fs/btrfs/delayed-ref.h

index e863188a3f1795bb89855f4404ff7cd56cda5bd4..e0da6dbeb5705a5d19a40b2abeeac3200740060b 100644 (file)
@@ -3098,4 +3098,11 @@ void btrfs_reada_detach(void *handle);
 int btree_readahead_hook(struct btrfs_root *root, struct extent_buffer *eb,
                         u64 start, int err);
 
+/* delayed seq elem */
+struct seq_list {
+       struct list_head list;
+       u64 seq;
+       u32 flags;
+};
+
 #endif
index d8f244d9492511e3b108b26bcf4da1bc9fbf6826..fd82446702122ef001a5050f753be588fb9d8c43 100644 (file)
@@ -195,11 +195,6 @@ int btrfs_delayed_ref_lock(struct btrfs_trans_handle *trans,
 int btrfs_find_ref_cluster(struct btrfs_trans_handle *trans,
                           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)
 {
        assert_spin_locked(&delayed_refs->lock);