Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4c90dae9
Commit
4c90dae9
authored
Feb 22, 2002
by
Dave Kleikamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bi_end_io prototype change
parent
60e8e519
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
fs/jfs/jfs_logmgr.c
fs/jfs/jfs_logmgr.c
+5
-5
No files found.
fs/jfs/jfs_logmgr.c
View file @
4c90dae9
...
@@ -184,7 +184,7 @@ static int lbmRead(log_t * log, int pn, lbuf_t ** bpp);
...
@@ -184,7 +184,7 @@ static int lbmRead(log_t * log, int pn, lbuf_t ** bpp);
static
void
lbmWrite
(
log_t
*
log
,
lbuf_t
*
bp
,
int
flag
,
int
cant_block
);
static
void
lbmWrite
(
log_t
*
log
,
lbuf_t
*
bp
,
int
flag
,
int
cant_block
);
static
void
lbmDirectWrite
(
log_t
*
log
,
lbuf_t
*
bp
,
int
flag
);
static
void
lbmDirectWrite
(
log_t
*
log
,
lbuf_t
*
bp
,
int
flag
);
static
int
lbmIOWait
(
lbuf_t
*
bp
,
int
flag
);
static
int
lbmIOWait
(
lbuf_t
*
bp
,
int
flag
);
static
int
lbmIODone
(
struct
bio
*
bio
,
int
)
;
static
bio_end_io_t
lbmIODone
;
#ifdef _STILL_TO_PORT
#ifdef _STILL_TO_PORT
static
void
lbmDirectIODone
(
iobuf_t
*
ddbp
);
static
void
lbmDirectIODone
(
iobuf_t
*
ddbp
);
#endif
/* _STILL_TO_PORT */
#endif
/* _STILL_TO_PORT */
...
@@ -2086,7 +2086,7 @@ static int lbmIOWait(lbuf_t * bp, int flag)
...
@@ -2086,7 +2086,7 @@ static int lbmIOWait(lbuf_t * bp, int flag)
*
*
* executed at INTIODONE level
* executed at INTIODONE level
*/
*/
static
int
lbmIODone
(
struct
bio
*
bio
,
int
nr_sectors
)
static
void
lbmIODone
(
struct
bio
*
bio
)
{
{
lbuf_t
*
bp
=
bio
->
bi_private
;
lbuf_t
*
bp
=
bio
->
bi_private
;
lbuf_t
*
nextbp
,
*
tail
;
lbuf_t
*
nextbp
,
*
tail
;
...
@@ -2120,7 +2120,7 @@ static int lbmIODone(struct bio *bio, int nr_sectors)
...
@@ -2120,7 +2120,7 @@ static int lbmIODone(struct bio *bio, int nr_sectors)
/* wakeup I/O initiator */
/* wakeup I/O initiator */
LCACHE_WAKEUP
(
&
bp
->
l_ioevent
);
LCACHE_WAKEUP
(
&
bp
->
l_ioevent
);
return
0
;
return
;
}
}
/*
/*
...
@@ -2145,7 +2145,7 @@ static int lbmIODone(struct bio *bio, int nr_sectors)
...
@@ -2145,7 +2145,7 @@ static int lbmIODone(struct bio *bio, int nr_sectors)
if
(
bp
->
l_flag
&
lbmDIRECT
)
{
if
(
bp
->
l_flag
&
lbmDIRECT
)
{
LCACHE_WAKEUP
(
&
bp
->
l_ioevent
);
LCACHE_WAKEUP
(
&
bp
->
l_ioevent
);
LCACHE_UNLOCK
(
flags
);
LCACHE_UNLOCK
(
flags
);
return
0
;
return
;
}
}
tail
=
log
->
wqueue
;
tail
=
log
->
wqueue
;
...
@@ -2224,7 +2224,7 @@ static int lbmIODone(struct bio *bio, int nr_sectors)
...
@@ -2224,7 +2224,7 @@ static int lbmIODone(struct bio *bio, int nr_sectors)
LCACHE_UNLOCK
(
flags
);
/* unlock+enable */
LCACHE_UNLOCK
(
flags
);
/* unlock+enable */
}
}
return
0
;
return
;
}
}
int
jfsIOWait
(
void
*
arg
)
int
jfsIOWait
(
void
*
arg
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment