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-8735 llite: Return -ERESTARTSYS in range_lock()
[fs/lustre-release.git]
/
lustre
/
llite
/
range_lock.c
diff --git
a/lustre/llite/range_lock.c
b/lustre/llite/range_lock.c
index
ead9321
..
56e1291
100644
(file)
--- a/
lustre/llite/range_lock.c
+++ b/
lustre/llite/range_lock.c
@@
-234,7
+234,7
@@
int range_lock(struct range_lock_tree *tree, struct range_lock *lock)
if (signal_pending(current)) {
range_unlock(tree, lock);
if (signal_pending(current)) {
range_unlock(tree, lock);
- GOTO(out, rc = -E
INTR
);
+ GOTO(out, rc = -E
RESTARTSYS
);
}
spin_lock(&tree->rlt_lock);
}
}
spin_lock(&tree->rlt_lock);
}