From patchwork Fri May 15 13:36:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Price X-Patchwork-Id: 6414121 Return-Path: X-Original-To: patchwork-fstests@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3033F9F1C1 for ; Fri, 15 May 2015 13:36:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6F1E7204D3 for ; Fri, 15 May 2015 13:36:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 92AB02040F for ; Fri, 15 May 2015 13:36:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423099AbbEONgt (ORCPT ); Fri, 15 May 2015 09:36:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40044 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422676AbbEONgt (ORCPT ); Fri, 15 May 2015 09:36:49 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id D57428E3D5 for ; Fri, 15 May 2015 13:36:48 +0000 (UTC) Received: from plato.andrewprice.me.uk.com (ovpn-116-107.ams2.redhat.com [10.36.116.107]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t4FDakLI015736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 15 May 2015 09:36:48 -0400 From: Andrew Price To: fstests@vger.kernel.org Subject: [PATCH 1/3] common/quota: set VFS_QUOTA for gfs2 Date: Fri, 15 May 2015 14:36:42 +0100 Message-Id: <1431697004-3032-1-git-send-email-anprice@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Use generic quota tools with gfs2. Fixes "xfs_quota: cannot setup path for mount /mnt/scratch: No such device or address" Signed-off-by: Andrew Price --- common/quota | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/quota b/common/quota index b320cf2..23be4f8 100644 --- a/common/quota +++ b/common/quota @@ -213,7 +213,7 @@ _check_quota_usage() VFS_QUOTA=0 case $FSTYP in - ext2|ext3|ext4|ext4dev|reiserfs) + ext2|ext3|ext4|ext4dev|reiserfs|gfs2) VFS_QUOTA=1 quotaon -f -u -g $SCRATCH_MNT 2>/dev/null ;;