From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A733BC433DB for ; Mon, 22 Mar 2021 14:50:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6BE1B61992 for ; Mon, 22 Mar 2021 14:50:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230042AbhCVOty (ORCPT ); Mon, 22 Mar 2021 10:49:54 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:57253 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230327AbhCVOtX (ORCPT ); Mon, 22 Mar 2021 10:49:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616424562; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=4RPyI1XLSiiAMaJC0jNwo5IEZ8WVN/LKvC5LjkFnvoQ=; b=O+Io9Xvg53GC8I+qXfCfHDJ98+yWw2aH964we0V1wG1/0KU0B5pKkp+2eR3LRBChU3mEQ3 6QO4wrjsYlqBMe/bYuDmugrwE5PiF68Bo1dOC74w7cNEjBT7QNJifDUX4YaKlhl4kdParc dRbfzCkvK4kzcTjMpnloty0v4pYn52Y= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-83-4cQuhtXTOqCJOBhFZ4ja2A-1; Mon, 22 Mar 2021 10:49:20 -0400 X-MC-Unique: 4cQuhtXTOqCJOBhFZ4ja2A-1 Received: by mail-ed1-f71.google.com with SMTP id i19so27686251edy.18 for ; Mon, 22 Mar 2021 07:49:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4RPyI1XLSiiAMaJC0jNwo5IEZ8WVN/LKvC5LjkFnvoQ=; b=LEP49qNtt1twqHx+Kkk8wi8EsGuf7KhT1i8vIMJbG+3L4MtwEf7LFj89s2QsiCFhwG FK+fUrzxU5LOMQaLJaZ6e8ryWy0EJkqiAwkIC1mJd5bkG4UpxcZP5RmC1gYYmFmMRiTF F7aonv7SzdddjpH3iBF1ZAmKxYNX+kWmFcYLmGtQa1JQ7icQGBMxoiwoHFeHXBIKvty3 VfDyo6sfkeO0VnLKK3xazLJ0iXvDT6R+fyjkuQTunMjX+IptD1VnFd1WlVJ+od+QJ0QF /noZEEHFvNdy/qK6TX4/c7igkHedW10W8thXI9/afQoWRC+VJZPnIhcAxMymbhCqxIM3 tFbw== X-Gm-Message-State: AOAM531d3Qo0sQ4anAP1HxZ5PBpSyrJ+BdmdA/Wit4Ljvl0MH32A6vFw b2zzrODQkCAzwEpvhdzUNTYpNXMkRC4s1ApN62TIHrwz93VKu7d8HQpT1JoCo6IV8qAIojxCSdW 6aHoPQjIG7cRNZn1uhrkxC51g+hhUqHOJpLps5hWt733ZKx0f1jhdk4lbxszoCTvPGno4yiX3/b W4Lg== X-Received: by 2002:a17:906:5d06:: with SMTP id g6mr144639ejt.216.1616424558849; Mon, 22 Mar 2021 07:49:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+xtIxvoCJATRMdkNsaLEfGA2QA1KAQg4KsHgMtdI5tAai611CaCVK3Fj8Zrf7VQHTLXr7cw== X-Received: by 2002:a17:906:5d06:: with SMTP id g6mr144617ejt.216.1616424558683; Mon, 22 Mar 2021 07:49:18 -0700 (PDT) Received: from miu.piliscsaba.redhat.com (catv-86-101-169-67.catv.broadband.hu. [86.101.169.67]) by smtp.gmail.com with ESMTPSA id r4sm9793117ejd.125.2021.03.22.07.49.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 07:49:18 -0700 (PDT) From: Miklos Szeredi To: linux-fsdevel@vger.kernel.org Cc: Al Viro , linux-kernel@vger.kernel.org, Christoph Hellwig Subject: [PATCH v2 00/18] new kAPI for FS_IOC_[GS]ETFLAGS/FS_IOC_FS[GS]ETXATTR Date: Mon, 22 Mar 2021 15:48:58 +0100 Message-Id: <20210322144916.137245-1-mszeredi@redhat.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hi Al, See 01/18 for the details. Can you please apply this series? Or at least the core part, so that the fs parts can go independently? Christoph, you were positive on the RFC version but didn't comment on the full implementation. Can you please review? Changes since v1: - rebased on 5.12-rc1 (mnt_userns churn) - fixed LSM hook on overlayfs Git tree is available here: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git#miscattr_v2 Thanks, Miklos --- Miklos Szeredi (18): vfs: add miscattr ops ecryptfs: stack miscattr ops ovl: stack miscattr ops btrfs: convert to miscattr ext2: convert to miscattr ext4: convert to miscattr f2fs: convert to miscattr gfs2: convert to miscattr orangefs: convert to miscattr xfs: convert to miscattr efivars: convert to miscattr hfsplus: convert to miscattr jfs: convert to miscattr nilfs2: convert to miscattr ocfs2: convert to miscattr reiserfs: convert to miscattr ubifs: convert to miscattr vfs: remove unused ioctl helpers Documentation/filesystems/locking.rst | 5 + Documentation/filesystems/vfs.rst | 15 ++ fs/btrfs/ctree.h | 3 + fs/btrfs/inode.c | 4 + fs/btrfs/ioctl.c | 249 ++++--------------- fs/ecryptfs/inode.c | 22 ++ fs/efivarfs/file.c | 77 ------ fs/efivarfs/inode.c | 44 ++++ fs/ext2/ext2.h | 7 +- fs/ext2/file.c | 2 + fs/ext2/ioctl.c | 88 +++---- fs/ext2/namei.c | 2 + fs/ext4/ext4.h | 12 +- fs/ext4/file.c | 2 + fs/ext4/ioctl.c | 210 ++++------------ fs/ext4/namei.c | 2 + fs/f2fs/f2fs.h | 3 + fs/f2fs/file.c | 213 +++-------------- fs/f2fs/namei.c | 2 + fs/gfs2/file.c | 57 ++--- fs/gfs2/inode.c | 4 + fs/gfs2/inode.h | 3 + fs/hfsplus/dir.c | 2 + fs/hfsplus/hfsplus_fs.h | 14 +- fs/hfsplus/inode.c | 54 +++++ fs/hfsplus/ioctl.c | 84 ------- fs/inode.c | 87 ------- fs/ioctl.c | 329 ++++++++++++++++++++++++++ fs/jfs/file.c | 6 +- fs/jfs/ioctl.c | 105 +++----- fs/jfs/jfs_dinode.h | 7 - fs/jfs/jfs_inode.h | 4 +- fs/jfs/namei.c | 6 +- fs/nilfs2/file.c | 2 + fs/nilfs2/ioctl.c | 61 ++--- fs/nilfs2/namei.c | 2 + fs/nilfs2/nilfs.h | 3 + fs/ocfs2/file.c | 2 + fs/ocfs2/ioctl.c | 59 ++--- fs/ocfs2/ioctl.h | 3 + fs/ocfs2/namei.c | 3 + fs/ocfs2/ocfs2_ioctl.h | 8 - fs/orangefs/file.c | 79 ------- fs/orangefs/inode.c | 50 ++++ fs/overlayfs/dir.c | 2 + fs/overlayfs/inode.c | 77 ++++++ fs/overlayfs/overlayfs.h | 3 + fs/reiserfs/file.c | 2 + fs/reiserfs/ioctl.c | 121 +++++----- fs/reiserfs/namei.c | 2 + fs/reiserfs/reiserfs.h | 7 +- fs/reiserfs/super.c | 2 +- fs/ubifs/dir.c | 2 + fs/ubifs/file.c | 2 + fs/ubifs/ioctl.c | 74 +++--- fs/ubifs/ubifs.h | 3 + fs/xfs/libxfs/xfs_fs.h | 4 - fs/xfs/xfs_ioctl.c | 316 +++++++------------------ fs/xfs/xfs_ioctl.h | 11 + fs/xfs/xfs_ioctl32.c | 2 - fs/xfs/xfs_ioctl32.h | 2 - fs/xfs/xfs_iops.c | 7 + include/linux/fs.h | 16 +- include/linux/miscattr.h | 53 +++++ 64 files changed, 1170 insertions(+), 1534 deletions(-) create mode 100644 include/linux/miscattr.h -- 2.30.2