projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: kill trans_mutex
[linux-2.6-block.git]
/
fs
/
btrfs
/
transaction.h
diff --git
a/fs/btrfs/transaction.h
b/fs/btrfs/transaction.h
index 154314f80f8de87b1e5ee1d06459313d83a04e6e..11c6efcd4ed20e0353af70c746a60314a20ed684 100644
(file)
--- a/
fs/btrfs/transaction.h
+++ b/
fs/btrfs/transaction.h
@@
-28,10
+28,12
@@
struct btrfs_transaction {
* transaction can end
*/
atomic_t num_writers;
+ atomic_t use_count;
unsigned long num_joined;
+
+ spinlock_t commit_lock;
int in_commit;
- atomic_t use_count;
int commit_done;
int blocked;
struct list_head list;