From patchwork Wed Feb 20 17:20:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 10822529 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2610F13B5 for ; Wed, 20 Feb 2019 17:20:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1169F2F43C for ; Wed, 20 Feb 2019 17:20:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05CE82F42E; Wed, 20 Feb 2019 17:20:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 224562F3D8 for ; Wed, 20 Feb 2019 17:20:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726084AbfBTRUR (ORCPT ); Wed, 20 Feb 2019 12:20:17 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:53124 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725796AbfBTRUR (ORCPT ); Wed, 20 Feb 2019 12:20:17 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x1KHEAmW130201; Wed, 20 Feb 2019 17:20:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : mime-version : content-type; s=corp-2018-07-02; bh=rtSvGKgQb96I+yqraAg9VLslTnUGVqQ5Dqmexrd9n6c=; b=XPd/PslvyKZnS9LIgMyi/a4SnGuOFyqOSD5/pcoG/JiambSjczrRqwKXhPmcX7OZCJX4 IzLlK/JkEgwFIaMgbgby+c9/gc0iCE1jfOKeG+frBwl42EI+OchdV+G5i/OifnUOBROm phK0ThisRTqacyn2u5lim/NdqdU83hOfw8foxewjgkO9bR/gCgJ5RqO5SX9TCzYzNcjt ONlMg9TjwPkg+5fN71ReZzPVPFhWwNZT8+PEQ48GyuW8QPVM440NSJRVkEdmYEeBOxZp P9G+td886lJBD6nuiLF1RWjtPpwLWKQSxM5CufgmAywpwUbuNUolZowFsgifvk3zwEhy cQ== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2120.oracle.com with ESMTP id 2qpb5rjvrs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 20 Feb 2019 17:20:10 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id x1KHK7nB021601 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 20 Feb 2019 17:20:08 GMT Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x1KHK6Ti013109; Wed, 20 Feb 2019 17:20:07 GMT Received: from localhost (/10.159.154.154) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 20 Feb 2019 09:20:06 -0800 Date: Wed, 20 Feb 2019 09:20:05 -0800 From: "Darrick J. Wong" To: guaneryu@gmail.com Cc: David Sterba , Holger =?iso-8859-1?q?Hoffst=E4tte?= , linux-xfs@vger.kernel.org, fstests@vger.kernel.org Subject: [PATCH] t_attr_corruption: fix xattr.h include problems Message-ID: <20190220172005.GJ6477@magnolia> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9173 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902200122 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Darrick J. Wong Apparently newer versions of libattr (which haven't yet been picked up by Debian or Ubuntu) don't ship xattr.h anymore, because we're supposed to use the libc version in sys/xattr.h. So do that. Signed-off-by: Darrick J. Wong Reviewed-by: David Sterba --- src/t_attr_corruption.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t_attr_corruption.c b/src/t_attr_corruption.c index 1fa5e41f..f26611f9 100644 --- a/src/t_attr_corruption.c +++ b/src/t_attr_corruption.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include void die(const char *msg) {