git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Driver core: allow to delay the uevent at device creation time
[safe/jmp/linux-2.6]
/
fs
/
bio.c
diff --git
a/fs/bio.c
b/fs/bio.c
index
aa4d09b
..
7618bcb
100644
(file)
--- a/
fs/bio.c
+++ b/
fs/bio.c
@@
-30,7
+30,7
@@
#define BIO_POOL_SIZE 256
#define BIO_POOL_SIZE 256
-static
kmem_cache_t
*bio_slab __read_mostly;
+static
struct kmem_cache
*bio_slab __read_mostly;
#define BIOVEC_NR_POOLS 6
#define BIOVEC_NR_POOLS 6
@@
-44,7
+44,7
@@
mempool_t *bio_split_pool __read_mostly;
struct biovec_slab {
int nr_vecs;
char *name;
struct biovec_slab {
int nr_vecs;
char *name;
-
kmem_cache_t
*slab;
+
struct kmem_cache
*slab;
};
/*
};
/*
@@
-916,7
+916,7
@@
void bio_set_pages_dirty(struct bio *bio)
}
}
}
}
-
static
void bio_release_pages(struct bio *bio)
+void bio_release_pages(struct bio *bio)
{
struct bio_vec *bvec = bio->bi_io_vec;
int i;
{
struct bio_vec *bvec = bio->bi_io_vec;
int i;
@@
-940,16
+940,16
@@
static void bio_release_pages(struct bio *bio)
* run one bio_put() against the BIO.
*/
* run one bio_put() against the BIO.
*/
-static void bio_dirty_fn(
void *data
);
+static void bio_dirty_fn(
struct work_struct *work
);
-static DECLARE_WORK(bio_dirty_work, bio_dirty_fn
, NULL
);
+static DECLARE_WORK(bio_dirty_work, bio_dirty_fn);
static DEFINE_SPINLOCK(bio_dirty_lock);
static struct bio *bio_dirty_list;
/*
* This runs in process context
*/
static DEFINE_SPINLOCK(bio_dirty_lock);
static struct bio *bio_dirty_list;
/*
* This runs in process context
*/
-static void bio_dirty_fn(
void *data
)
+static void bio_dirty_fn(
struct work_struct *work
)
{
unsigned long flags;
struct bio *bio;
{
unsigned long flags;
struct bio *bio;