diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-01-07 22:28:05 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-01-07 22:28:05 -0800 |
commit | e3c0df51ec49d4a83d0aa74cf5e5c919687faeee (patch) | |
tree | 2b605886004908740d61cf671dfea4b964d4fbab /fs | |
parent | 7e03ad9a7fb1cd33ef9320ed4bc2d79a2abb6aa2 (diff) | |
download | history-e3c0df51ec49d4a83d0aa74cf5e5c919687faeee.tar.gz |
[PATCH] bio.c: make bio_destructor static
bio_destructor in fs/bio.c isn't used outside of this file, and after quickly
thinking about it I didn't find a reason why it should.
The patch below makes it static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/bio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bio.c b/fs/bio.c index 932266e3fd3bce..3580d5ce64dff9 100644 --- a/fs/bio.c +++ b/fs/bio.c @@ -91,7 +91,7 @@ static inline struct bio_vec *bvec_alloc(int gfp_mask, int nr, unsigned long *id /* * default destructor for a bio allocated with bio_alloc() */ -void bio_destructor(struct bio *bio) +static void bio_destructor(struct bio *bio) { const int pool_idx = BIO_POOL_IDX(bio); struct biovec_pool *bp = bvec_array + pool_idx; |