projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disable some mediatekl custom warnings
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
fs
/
xfs
/
xfs_trans_ail.c
diff --git
a/fs/xfs/xfs_trans_ail.c
b/fs/xfs/xfs_trans_ail.c
index 0eda7254305f3c5a6524a378596215c8cf861140..1f2b515d55f1f26a737a2bf7bb4abcc543082da5 100644
(file)
--- a/
fs/xfs/xfs_trans_ail.c
+++ b/
fs/xfs/xfs_trans_ail.c
@@
-511,9
+511,10
@@
xfsaild(
struct xfs_ail *ailp = data;
long tout = 0; /* milliseconds */
struct xfs_ail *ailp = data;
long tout = 0; /* milliseconds */
+ set_freezable();
current->flags |= PF_MEMALLOC;
current->flags |= PF_MEMALLOC;
- while (!kthread_
should_stop(
)) {
+ while (!kthread_
freezable_should_stop(NULL
)) {
if (tout && tout <= 20)
__set_current_state(TASK_KILLABLE);
else
if (tout && tout <= 20)
__set_current_state(TASK_KILLABLE);
else
@@
-535,6
+536,7
@@
xfsaild(
ailp->xa_target == ailp->xa_target_prev) {
spin_unlock(&ailp->xa_lock);
schedule();
ailp->xa_target == ailp->xa_target_prev) {
spin_unlock(&ailp->xa_lock);
schedule();
+ try_to_freeze();
tout = 0;
continue;
}
tout = 0;
continue;
}