|
@@ -10146,6 +10146,13 @@ static int btrfs_rename2(struct inode *old_dir, struct dentry *old_dentry,
|
|
|
return btrfs_rename(old_dir, old_dentry, new_dir, new_dentry, flags);
|
|
|
}
|
|
|
|
|
|
+struct btrfs_delalloc_work {
|
|
|
+ struct inode *inode;
|
|
|
+ struct completion completion;
|
|
|
+ struct list_head list;
|
|
|
+ struct btrfs_work work;
|
|
|
+};
|
|
|
+
|
|
|
static void btrfs_run_delalloc_work(struct btrfs_work *work)
|
|
|
{
|
|
|
struct btrfs_delalloc_work *delalloc_work;
|
|
@@ -10163,7 +10170,7 @@ static void btrfs_run_delalloc_work(struct btrfs_work *work)
|
|
|
complete(&delalloc_work->completion);
|
|
|
}
|
|
|
|
|
|
-struct btrfs_delalloc_work *btrfs_alloc_delalloc_work(struct inode *inode)
|
|
|
+static struct btrfs_delalloc_work *btrfs_alloc_delalloc_work(struct inode *inode)
|
|
|
{
|
|
|
struct btrfs_delalloc_work *work;
|
|
|
|