Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp629349ybc; Tue, 12 Nov 2019 06:56:30 -0800 (PST) X-Google-Smtp-Source: APXvYqxjq3jgxEfFtNO6eCexIbGDIPUvqcHyTdpPhE4vkKd1SziC81n4/8KzW1Ihl4WstVbNIp3r X-Received: by 2002:a17:906:9458:: with SMTP id z24mr4776016ejx.289.1573570590696; Tue, 12 Nov 2019 06:56:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573570590; cv=none; d=google.com; s=arc-20160816; b=0ZZUPiryYEFgNeUgyrVODSVBePdTUflIB2MwOKBs+MGRPq4tfqBRgpZPLYt8vAOQ5R jIfTWy57c9tGjgzJ9AcK5ZQj65lhK/9AqiM9mO6NgiQgGXJ0dDT84yZA6c2NViUSLyW/ RFzLylQvvTEJP2v4mYES5BLLUWISmnOcubmIUYSko77aU3BYRfNgOiz1+B6x4ZTaYgv1 0ApiPNuirPqc2nzJzNPcxWhjMWdZfef0BmpRcyRLYzcVSt879ZYeiV5/QlG4bPzCyaYN yQigrlaW3GtityNR3IGPH924iPDskHkVsSSKCrzL9FaOKYs/kH0Z/VdbN7sy2B2TRSje BnLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date; bh=W7G6v9VwbcDcG68br7+dl9B6IbMgy0fsaUR/kLHXAmQ=; b=qzoaM2BrLhXt+MLxTnXz+21m7bnQEvDDTP59Mwk3FO8W4fa5rbPY1X0cKJn3DlE+vE X22u+fGUadPqrW1mEB+MaGSloiZUsAfRidBz9pc0UFDpqNBv90EVTEL5r/V4z5ZrUcR5 x4GUBzS3KCTSBkWwdmf062aNuofcWnX7JCeCa1L8dE5ANx3ykf79ZmOZeQgZ1did9GsF ETFXxZgSMXZgIz2L3qtRcG5/XeGWZtSaC6t+SoZY8a2bDLU6ssogp/iBT23RvfxzEInr jA49zJkRlbY5gKFf4mi9KgJBzNN2VUdM5vfPTr6W0nHUEaNPv04P1zSCZg8i07IfExr6 Sxog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si88784ejr.262.2019.11.12.06.56.06; Tue, 12 Nov 2019 06:56:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727010AbfKLOz3 (ORCPT + 99 others); Tue, 12 Nov 2019 09:55:29 -0500 Received: from er-systems.de ([148.251.68.21]:37382 "EHLO er-systems.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726484AbfKLOz2 (ORCPT ); Tue, 12 Nov 2019 09:55:28 -0500 X-Greylist: delayed 574 seconds by postgrey-1.27 at vger.kernel.org; Tue, 12 Nov 2019 09:55:28 EST Received: from localhost.localdomain (localhost [127.0.0.1]) by er-systems.de (Postfix) with ESMTP id 04484D6005E; Tue, 12 Nov 2019 15:45:51 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on er-systems.de X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by er-systems.de (Postfix) with ESMTPS id D45F2D6005A; Tue, 12 Nov 2019 15:45:50 +0100 (CET) Date: Tue, 12 Nov 2019 15:45:50 +0100 (CET) From: Thomas Voegtle X-X-Sender: thomas@er-systems.de To: Jia-Ju Bai , Joseph Qi , Mark Fasheh , Joel Becker cc: linux-kernel@vger.kernel.org Subject: ocfs2: xattr problems with 5.4.0-rc7 Message-ID: User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-74181308-1838456657-1573569950=:7620" X-Virus-Status: No X-Virus-Checker-Version: clamassassin 1.2.4 with clamdscan / ClamAV 0.101.3/25631/Tue Nov 12 10:51:17 2019 signatures 58. Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---74181308-1838456657-1573569950=:7620 Content-Type: text/plain; format=flowed; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Hello, with 5.4.0-rc7 and 4.9.200 we see the following errors with mkdir or touch on a ocfs2 mountpoint: root@s2:/shared/ClusterShareDisk# mkdir dir mkdir: cannot create directory ?dir?: Invalid argument which produces this output: root@s2:/shared/ClusterShareDisk# dmesg [ 6918.815770] (mkdir,19461,0):ocfs2_xa_set:2242 ERROR: status = -22 [ 6918.815772] (mkdir,19461,0):ocfs2_mknod:408 ERROR: status = -22 [ 6918.816215] (mkdir,19461,0):ocfs2_mknod:486 ERROR: status = -22 [ 6918.816216] (mkdir,19461,0):ocfs2_mkdir:652 ERROR: status = -22 We got some ACLs: $ getfacl /shared/ClusterShareDisk/ getfacl: Removing leading '/' from absolute path names # file: shared/ClusterShareDisk/ # owner: root # group: root user::rwx user:admin:rwx group::rwx mask::rwx other::--- default:user::rwx default:user:admin:rwx default:group::rwx default:mask::rwx default:other::--- And of course it is mounted with user_xattr and acl option. Reverting commit 56e94ea132bb5c2c1d0b60a6aeb34dcb7d71a53d Author: Jia-Ju Bai Date: Sun Oct 6 17:57:50 2019 -0700 fs: ocfs2: fix possible null-pointer dereferences in ocfs2_xa_prepare_entry() fixes the problem. Greetings, Thomas ---74181308-1838456657-1573569950=:7620--