make cluster_callback() static
This commit is contained in:
parent
2adc2b87c7
commit
502a590bf1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141628
@ -65,6 +65,7 @@ static struct cluster_save *
|
||||
static struct buf *
|
||||
cluster_rbuild(struct vnode *vp, u_quad_t filesize, daddr_t lbn,
|
||||
daddr_t blkno, long size, int run, struct buf *fbp);
|
||||
static void cluster_callback(struct buf *);
|
||||
|
||||
static int write_behind = 1;
|
||||
SYSCTL_INT(_vfs, OID_AUTO, write_behind, CTLFLAG_RW, &write_behind, 0,
|
||||
@ -510,7 +511,7 @@ cluster_rbuild(vp, filesize, lbn, blkno, size, run, fbp)
|
||||
* extra memory (if there were no empty buffer headers at allocbuf time)
|
||||
* that we will need to shift around.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
cluster_callback(bp)
|
||||
struct buf *bp;
|
||||
{
|
||||
|
@ -498,7 +498,6 @@ int bufwait(struct buf *);
|
||||
int bufwrite(struct buf *);
|
||||
void bufdone(struct buf *);
|
||||
|
||||
void cluster_callback(struct buf *);
|
||||
int cluster_read(struct vnode *, u_quad_t, daddr_t, long,
|
||||
struct ucred *, long, int, struct buf **);
|
||||
int cluster_wbuild(struct vnode *, long, daddr_t, int);
|
||||
|
Loading…
Reference in New Issue
Block a user