Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-15994 llite: use fatal_signal_pending in range_lock
[fs/lustre-release.git]
/
lustre
/
obdclass
/
range_lock.c
diff --git
a/lustre/obdclass/range_lock.c
b/lustre/obdclass/range_lock.c
index
ae3ed9a
..
86a8fb5
100644
(file)
--- a/
lustre/obdclass/range_lock.c
+++ b/
lustre/obdclass/range_lock.c
@@
-166,7
+166,7
@@
int range_lock(struct range_lock_tree *tree, struct range_lock *lock)
spin_unlock(&tree->rlt_lock);
schedule();
- if (signal_pending(current)) {
+ if (
fatal_
signal_pending(current)) {
range_unlock(tree, lock);
GOTO(out, rc = -ERESTARTSYS);
}