From patchwork Tue May 22 03:23:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiaoli Feng X-Patchwork-Id: 917980 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-cifs-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40qgwf2j4wz9s1w for ; Tue, 22 May 2018 13:24:02 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752102AbeEVDYA (ORCPT ); Mon, 21 May 2018 23:24:00 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:45996 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751813AbeEVDYA (ORCPT ); Mon, 21 May 2018 23:24:00 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 143A040201A4; Tue, 22 May 2018 03:24:00 +0000 (UTC) Received: from dhcp-12-126.nay.redhat.com (unknown [10.66.12.126]) by smtp.corp.redhat.com (Postfix) with ESMTP id 944AFD74AA; Tue, 22 May 2018 03:23:58 +0000 (UTC) From: XiaoLi Feng To: fstests@vger.kernel.org Cc: linux-cifs@vger.kernel.org, xiaoli feng Subject: [PATCH] common/rc: skip atime related tests on CIFS Date: Tue, 22 May 2018 11:23:56 +0800 Message-Id: <1526959436-7170-1-git-send-email-xifeng@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Tue, 22 May 2018 03:24:00 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Tue, 22 May 2018 03:24:00 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'xifeng@redhat.com' RCPT:'' Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org From: xiaoli feng The atime related mount options have no effect on cifs mounts now or in the future. So skip these tests on CIFS. Signed-off-by: xiaoli feng --- common/rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/rc b/common/rc index ffe5323..d3af55f 100644 --- a/common/rc +++ b/common/rc @@ -3244,6 +3244,8 @@ _require_atime() _exclude_scratch_mount_option "noatime" if [ "$FSTYP" == "nfs" ]; then _notrun "atime related mount options have no effect on NFS" + elif [ "$FSTYP" == "cifs" ]; then + _notrun "atime related mount options have no effect on CIFS" fi }