]> Pileus Git - ~andy/linux/blobdiff - fs/btrfs/locking.h
Btrfs: join the transaction in __btrfs_setxattr
[~andy/linux] / fs / btrfs / locking.h
index 2dab96d8280e0686811742d7e3336183d06041e7..d92e707f5870c1dfb13462298047b58c8827f622 100644 (file)
 int btrfs_tree_lock(struct extent_buffer *eb);
 int btrfs_tree_unlock(struct extent_buffer *eb);
 int btrfs_tree_locked(struct extent_buffer *eb);
+
 int btrfs_try_tree_lock(struct extent_buffer *eb);
+int btrfs_try_spin_lock(struct extent_buffer *eb);
+
+int btrfs_path_lock_waiting(struct btrfs_path *path, int level);
+
+void btrfs_set_lock_blocking(struct extent_buffer *eb);
+void btrfs_clear_lock_blocking(struct extent_buffer *eb);
 #endif