From 269a157c600a68fac5f5d2bb383338db807129f6 Mon Sep 17 00:00:00 2001 From: Li Xi Date: Tue, 25 May 2021 08:49:01 +0800 Subject: [PATCH 1/1] 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 --- lustre/osc/osc_object.c | 4 ---- 1 file changed, 4 deletions(-) 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)) { -- 1.8.3.1