diff options
Diffstat (limited to 'fs/bio.c')
-rw-r--r-- | fs/bio.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -955,16 +955,16 @@ static void bio_release_pages(struct bio *bio) | |||
955 | * run one bio_put() against the BIO. | 955 | * run one bio_put() against the BIO. |
956 | */ | 956 | */ |
957 | 957 | ||
958 | static void bio_dirty_fn(void *data); | 958 | static void bio_dirty_fn(struct work_struct *work); |
959 | 959 | ||
960 | static DECLARE_WORK(bio_dirty_work, bio_dirty_fn, NULL); | 960 | static DECLARE_WORK(bio_dirty_work, bio_dirty_fn); |
961 | static DEFINE_SPINLOCK(bio_dirty_lock); | 961 | static DEFINE_SPINLOCK(bio_dirty_lock); |
962 | static struct bio *bio_dirty_list; | 962 | static struct bio *bio_dirty_list; |
963 | 963 | ||
964 | /* | 964 | /* |
965 | * This runs in process context | 965 | * This runs in process context |
966 | */ | 966 | */ |
967 | static void bio_dirty_fn(void *data) | 967 | static void bio_dirty_fn(struct work_struct *work) |
968 | { | 968 | { |
969 | unsigned long flags; | 969 | unsigned long flags; |
970 | struct bio *bio; | 970 | struct bio *bio; |