From: Li Xi Date: Tue, 25 May 2021 00:49:01 +0000 (+0800) Subject: LU-14702 osc: cleanup comment in osc_object_is_contended X-Git-Tag: 2.14.52~17 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=269a157c600a68fac5f5d2bb383338db807129f6 LU-14702 osc: cleanup comment in osc_object_is_contended ll_file_is_contended() does not exist any more, so the comment is invalid. Test-Parameters: trivial Signed-off-by: Li Xi Change-Id: Ib68e8dc885e6812065c076d36dc61938a30d6980 Reviewed-on: https://review.whamcloud.com/43775 Tested-by: jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Neil Brown Reviewed-by: Arshad Hussain Reviewed-by: Oleg Drokin --- diff --git a/lustre/osc/osc_object.c b/lustre/osc/osc_object.c index d0c6cbe..16eab5f 100644 --- 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)) {