From patchwork Tue Feb 12 02:18:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Jain X-Patchwork-Id: 10807223 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 0399413B4 for ; Tue, 12 Feb 2019 02:19:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E613C2A69A for ; Tue, 12 Feb 2019 02:19:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9CC92A6BC; Tue, 12 Feb 2019 02:19:06 +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=ham 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 896652A69A for ; Tue, 12 Feb 2019 02:19:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727659AbfBLCTE (ORCPT ); Mon, 11 Feb 2019 21:19:04 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:51050 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727265AbfBLCTE (ORCPT ); Mon, 11 Feb 2019 21:19:04 -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 x1C2Iwn9033360 for ; Tue, 12 Feb 2019 02:19:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id; s=corp-2018-07-02; bh=Fyd1nNg+0KubUMm7ktHAxhjJ2aaZbpi3qxZKSu7WNy0=; b=YTt4rY8uAo9pLBHvrm1Ta7MQI0DdYyFhsiSwWd5eb0j648u8ZuIw1l8FqCVYirOsfIt7 1LUgVugfHsIXL6ImuvHwfT11nb+HgJWqnYJJIpoqZuO5uJRTUVhO2cbZ6pTphZDi7cq7 2kklgoHxzSK+NB3oruFgmUgrr9uctMD/iUT+HqJf5xQuv+SBGUwYHbxLEaHRVN6YGHgQ lrAafLsLTmD/R+nlOiD2pvb9XyZN90vkQoetzXnHMLZaN2knlyrl5QUM4WrspGGuEdpe L3U/EDXAjKoDq3JjGJEOsxKz9K+b2jfqb0lugJO6xX0fYWlAdakbsC85qXn3OlyW8mYo Sw== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2qhredsaex-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 12 Feb 2019 02:19:03 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x1C2J1PS008482 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 12 Feb 2019 02:19:02 GMT Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x1C2J1Ar012793 for ; Tue, 12 Feb 2019 02:19:01 GMT Received: from tpasj.localdomain (/183.90.37.91) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 11 Feb 2019 18:19:01 -0800 From: Anand Jain To: linux-btrfs@vger.kernel.org Subject: [PATCH v3 0/3] Misc props.c cleanups Date: Tue, 12 Feb 2019 10:18:48 +0800 Message-Id: <1549937931-15339-1-git-send-email-anand.jain@oracle.com> X-Mailer: git-send-email 1.8.3.1 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9164 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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=904 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902120015 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP v3: Merge patch 2/5 and 3/5 as in v1. Not included 1/5 in v1 as its already integrated in misc-next. While adding the readmirror property found few cleanup things which can be fixed. As these aren't part of upcoming readmirror property I am sending these separately. Anand Jain (3): btrfs: kill __btrfs_set_prop() btrfs: drop redundant forward declaration in props.c btrfs: trivial, fix c coding style fs/btrfs/ioctl.c | 10 +-- fs/btrfs/props.c | 201 +++++++++++++++++++++++++------------------------------ fs/btrfs/props.h | 6 +- fs/btrfs/xattr.c | 2 +- 4 files changed, 99 insertions(+), 120 deletions(-)