diff options
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 0885f333574d..53697a80b849 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -324,7 +324,7 @@ struct async_cow { | |||
324 | u64 start; | 324 | u64 start; |
325 | u64 end; | 325 | u64 end; |
326 | struct list_head extents; | 326 | struct list_head extents; |
327 | struct btrfs_work_struct work; | 327 | struct btrfs_work work; |
328 | }; | 328 | }; |
329 | 329 | ||
330 | static noinline int add_async_extent(struct async_cow *cow, | 330 | static noinline int add_async_extent(struct async_cow *cow, |
@@ -1000,7 +1000,7 @@ out_unlock: | |||
1000 | /* | 1000 | /* |
1001 | * work queue call back to started compression on a file and pages | 1001 | * work queue call back to started compression on a file and pages |
1002 | */ | 1002 | */ |
1003 | static noinline void async_cow_start(struct btrfs_work_struct *work) | 1003 | static noinline void async_cow_start(struct btrfs_work *work) |
1004 | { | 1004 | { |
1005 | struct async_cow *async_cow; | 1005 | struct async_cow *async_cow; |
1006 | int num_added = 0; | 1006 | int num_added = 0; |
@@ -1018,7 +1018,7 @@ static noinline void async_cow_start(struct btrfs_work_struct *work) | |||
1018 | /* | 1018 | /* |
1019 | * work queue call back to submit previously compressed pages | 1019 | * work queue call back to submit previously compressed pages |
1020 | */ | 1020 | */ |
1021 | static noinline void async_cow_submit(struct btrfs_work_struct *work) | 1021 | static noinline void async_cow_submit(struct btrfs_work *work) |
1022 | { | 1022 | { |
1023 | struct async_cow *async_cow; | 1023 | struct async_cow *async_cow; |
1024 | struct btrfs_root *root; | 1024 | struct btrfs_root *root; |
@@ -1039,7 +1039,7 @@ static noinline void async_cow_submit(struct btrfs_work_struct *work) | |||
1039 | submit_compressed_extents(async_cow->inode, async_cow); | 1039 | submit_compressed_extents(async_cow->inode, async_cow); |
1040 | } | 1040 | } |
1041 | 1041 | ||
1042 | static noinline void async_cow_free(struct btrfs_work_struct *work) | 1042 | static noinline void async_cow_free(struct btrfs_work *work) |
1043 | { | 1043 | { |
1044 | struct async_cow *async_cow; | 1044 | struct async_cow *async_cow; |
1045 | async_cow = container_of(work, struct async_cow, work); | 1045 | async_cow = container_of(work, struct async_cow, work); |
@@ -1748,10 +1748,10 @@ int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end, | |||
1748 | /* see btrfs_writepage_start_hook for details on why this is required */ | 1748 | /* see btrfs_writepage_start_hook for details on why this is required */ |
1749 | struct btrfs_writepage_fixup { | 1749 | struct btrfs_writepage_fixup { |
1750 | struct page *page; | 1750 | struct page *page; |
1751 | struct btrfs_work_struct work; | 1751 | struct btrfs_work work; |
1752 | }; | 1752 | }; |
1753 | 1753 | ||
1754 | static void btrfs_writepage_fixup_worker(struct btrfs_work_struct *work) | 1754 | static void btrfs_writepage_fixup_worker(struct btrfs_work *work) |
1755 | { | 1755 | { |
1756 | struct btrfs_writepage_fixup *fixup; | 1756 | struct btrfs_writepage_fixup *fixup; |
1757 | struct btrfs_ordered_extent *ordered; | 1757 | struct btrfs_ordered_extent *ordered; |
@@ -2750,7 +2750,7 @@ out: | |||
2750 | return ret; | 2750 | return ret; |
2751 | } | 2751 | } |
2752 | 2752 | ||
2753 | static void finish_ordered_fn(struct btrfs_work_struct *work) | 2753 | static void finish_ordered_fn(struct btrfs_work *work) |
2754 | { | 2754 | { |
2755 | struct btrfs_ordered_extent *ordered_extent; | 2755 | struct btrfs_ordered_extent *ordered_extent; |
2756 | ordered_extent = container_of(work, struct btrfs_ordered_extent, work); | 2756 | ordered_extent = container_of(work, struct btrfs_ordered_extent, work); |
@@ -2763,7 +2763,7 @@ static int btrfs_writepage_end_io_hook(struct page *page, u64 start, u64 end, | |||
2763 | struct inode *inode = page->mapping->host; | 2763 | struct inode *inode = page->mapping->host; |
2764 | struct btrfs_root *root = BTRFS_I(inode)->root; | 2764 | struct btrfs_root *root = BTRFS_I(inode)->root; |
2765 | struct btrfs_ordered_extent *ordered_extent = NULL; | 2765 | struct btrfs_ordered_extent *ordered_extent = NULL; |
2766 | struct btrfs_workqueue_struct *workers; | 2766 | struct btrfs_workqueue *workers; |
2767 | 2767 | ||
2768 | trace_btrfs_writepage_end_io_hook(page, start, end, uptodate); | 2768 | trace_btrfs_writepage_end_io_hook(page, start, end, uptodate); |
2769 | 2769 | ||
@@ -8384,7 +8384,7 @@ out_notrans: | |||
8384 | return ret; | 8384 | return ret; |
8385 | } | 8385 | } |
8386 | 8386 | ||
8387 | static void btrfs_run_delalloc_work(struct btrfs_work_struct *work) | 8387 | static void btrfs_run_delalloc_work(struct btrfs_work *work) |
8388 | { | 8388 | { |
8389 | struct btrfs_delalloc_work *delalloc_work; | 8389 | struct btrfs_delalloc_work *delalloc_work; |
8390 | struct inode *inode; | 8390 | struct inode *inode; |