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
Kirill Smelkov
linux
Commits
469c5855
Commit
469c5855
authored
Feb 10, 2004
by
Dave Kleikamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JFS: Threads should exit with complete_and_exit
parent
d3949d94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
fs/jfs/jfs_logmgr.c
fs/jfs/jfs_logmgr.c
+1
-2
fs/jfs/jfs_txnmgr.c
fs/jfs/jfs_txnmgr.c
+2
-4
No files found.
fs/jfs/jfs_logmgr.c
View file @
469c5855
...
@@ -2230,8 +2230,7 @@ int jfsIOWait(void *arg)
...
@@ -2230,8 +2230,7 @@ int jfsIOWait(void *arg)
}
while
(
!
jfs_stop_threads
);
}
while
(
!
jfs_stop_threads
);
jfs_info
(
"jfsIOWait being killed!"
);
jfs_info
(
"jfsIOWait being killed!"
);
complete
(
&
jfsIOwait
);
complete_and_exit
(
&
jfsIOwait
,
0
);
return
0
;
}
}
/*
/*
...
...
fs/jfs/jfs_txnmgr.c
View file @
469c5855
...
@@ -2842,8 +2842,7 @@ int jfs_lazycommit(void *arg)
...
@@ -2842,8 +2842,7 @@ int jfs_lazycommit(void *arg)
jfs_err
(
"jfs_lazycommit being killed w/pending transactions!"
);
jfs_err
(
"jfs_lazycommit being killed w/pending transactions!"
);
else
else
jfs_info
(
"jfs_lazycommit being killed
\n
"
);
jfs_info
(
"jfs_lazycommit being killed
\n
"
);
complete
(
&
jfsIOwait
);
complete_and_exit
(
&
jfsIOwait
,
0
);
return
0
;
}
}
void
txLazyUnlock
(
struct
tblock
*
tblk
)
void
txLazyUnlock
(
struct
tblock
*
tblk
)
...
@@ -3044,8 +3043,7 @@ int jfs_sync(void *arg)
...
@@ -3044,8 +3043,7 @@ int jfs_sync(void *arg)
}
while
(
!
jfs_stop_threads
);
}
while
(
!
jfs_stop_threads
);
jfs_info
(
"jfs_sync being killed"
);
jfs_info
(
"jfs_sync being killed"
);
complete
(
&
jfsIOwait
);
complete_and_exit
(
&
jfsIOwait
,
0
);
return
0
;
}
}
#if defined(CONFIG_PROC_FS) && defined(CONFIG_JFS_DEBUG)
#if defined(CONFIG_PROC_FS) && defined(CONFIG_JFS_DEBUG)
...
...
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