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-14702 osc: cleanup comment in osc_object_is_contended
[fs/lustre-release.git]
/
lustre
/
osc
/
osc_object.c
diff --git
a/lustre/osc/osc_object.c
b/lustre/osc/osc_object.c
index
d0c6cbe
..
16eab5f
100644
(file)
--- a/
lustre/osc/osc_object.c
+++ b/
lustre/osc/osc_object.c
@@
-345,10
+345,6
@@
int osc_object_is_contended(struct osc_object *obj)
if (!obj->oo_contended)
return 0;
- /*
- * I like copy-paste. the code is copied from
- * ll_file_is_contended.
- */
retry_time = ktime_add_ns(obj->oo_contention_time,
osc_contention_time * NSEC_PER_SEC);
if (ktime_after(ktime_get(), retry_time)) {