From nobody Sun Feb 8 04:12:02 2026 Received: from out-189.mta0.migadu.com (out-189.mta0.migadu.com [91.218.175.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BD6123F417 for ; Sun, 21 Dec 2025 12:47:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.189 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766321275; cv=none; b=lXZTuFxqxKiPBTIND2XjdmQD4q2v39c7EOAiuqunW3Thwu2XTVp6SSWmuJAWRZTvDow4n7UjdEE7etH7YH6zURuWMljaSUCkSPiRW1ID+ymttAC/JF8Yyw3tvxm+qWeBkffqoKkYIt/lZwvNXW8jjCc+tvT3+AYk9Ax7oiyHFHg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766321275; c=relaxed/simple; bh=TO41Co0V1vvnz2WjOhWyy0OAIV2bvyxfXLy+EQM4CDA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E0QE5GtAgCrvKU4WlHMQUzj0H8T5UND66ZMG98CQfrndTE2o2UGOVK6WDUdJorp0MPZhtRPfiCAOEDBV+/GwPMQVBLjUKOdFgandJWgTBptHDCXEn9oJuhhUj4ws1MkhnFYp1QftjlxTUzyTqxfqWpONfa+b4cWh7EHchidbpMU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=dpOOzyH4; arc=none smtp.client-ip=91.218.175.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="dpOOzyH4" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1766321263; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=NMmnbM7wozsVgexOJuQk+MNvPWAH6KUuD8xYcMB+v0k=; b=dpOOzyH4Dahws7h+vK3Ta9rpMXqvOlyCQGBnLepXa7Rmi2CFWB++ZGr9SLkFSwlaiq/hES 0mFpljYAfxw2WyFyO7L0N/fYMa0EG2vF08W2UPU8YjRsEI8g7bI0SJomUJxQZXsEdNR5GI W2trGdExRcpwC1+vRxZoUB7p3FVsuD4= From: Thorsten Blum To: Mike Marshall , Martin Brandenburg Cc: Thorsten Blum , devel@lists.orangefs.org, linux-kernel@vger.kernel.org Subject: [PATCH] orangefs: Remove commented out code in find_cached_xattr Date: Sun, 21 Dec 2025 13:47:13 +0100 Message-ID: <20251221124713.171813-2-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" The code has been commented out since 2017 - remove it. Signed-off-by: Thorsten Blum --- fs/orangefs/xattr.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fs/orangefs/xattr.c b/fs/orangefs/xattr.c index eee3c5ed1bbb..4043942a3c33 100644 --- a/fs/orangefs/xattr.c +++ b/fs/orangefs/xattr.c @@ -72,11 +72,6 @@ static struct orangefs_cached_xattr *find_cached_xattr(s= truct inode *inode, if (hlist_empty(h)) return NULL; hlist_for_each_entry_safe(cx, tmp, h, node) { -/* if (!time_before(jiffies, cx->timeout)) { - hlist_del(&cx->node); - kfree(cx); - continue; - }*/ if (!strcmp(cx->key, key)) return cx; } --=20 Thorsten Blum GPG: 1D60 735E 8AEF 3BE4 73B6 9D84 7336 78FD 8DFE EAD4