#include <linux/fs.h>
#include <linux/buffer_head.h>
-#include <linux/kobject.h>
+#include <linux/workqueue.h>
#include "bit-radix.h"
struct btrfs_trans_handle;
};
struct crypto_hash;
+
struct btrfs_fs_info {
+ spinlock_t hash_lock;
struct btrfs_root *extent_root;
struct btrfs_root *tree_root;
struct btrfs_root *dev_root;
struct mutex trans_mutex;
struct mutex fs_mutex;
struct list_head trans_list;
+ struct list_head dead_roots;
struct crypto_hash *hash_tfm;
- spinlock_t hash_lock;
+ struct delayed_work trans_work;
int do_barriers;
- struct kobject kobj;
+ int closing;
};
/*