diff options
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 62499dd761b7..116aee21bf77 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -551,6 +551,7 @@ struct btrfs_fs_info { | |||
551 | */ | 551 | */ |
552 | spinlock_t ordered_extent_lock; | 552 | spinlock_t ordered_extent_lock; |
553 | struct list_head ordered_extents; | 553 | struct list_head ordered_extents; |
554 | struct list_head delalloc_inodes; | ||
554 | 555 | ||
555 | /* | 556 | /* |
556 | * there is a pool of worker threads for checksumming during writes | 557 | * there is a pool of worker threads for checksumming during writes |
@@ -637,6 +638,7 @@ struct btrfs_root { | |||
637 | struct kobject root_kobj; | 638 | struct kobject root_kobj; |
638 | struct completion kobj_unregister; | 639 | struct completion kobj_unregister; |
639 | struct mutex objectid_mutex; | 640 | struct mutex objectid_mutex; |
641 | |||
640 | u64 objectid; | 642 | u64 objectid; |
641 | u64 last_trans; | 643 | u64 last_trans; |
642 | 644 | ||
@@ -1651,6 +1653,8 @@ int btrfs_csum_truncate(struct btrfs_trans_handle *trans, | |||
1651 | #define PageChecked PageFsMisc | 1653 | #define PageChecked PageFsMisc |
1652 | #endif | 1654 | #endif |
1653 | 1655 | ||
1656 | int btrfs_start_delalloc_inodes(struct btrfs_root *root); | ||
1657 | int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end); | ||
1654 | int btrfs_writepages(struct address_space *mapping, | 1658 | int btrfs_writepages(struct address_space *mapping, |
1655 | struct writeback_control *wbc); | 1659 | struct writeback_control *wbc); |
1656 | int btrfs_create_subvol_root(struct btrfs_root *new_root, | 1660 | int btrfs_create_subvol_root(struct btrfs_root *new_root, |