From patchwork Tue Aug 23 14:05:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miklos Szeredi X-Patchwork-Id: 9295693 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E8DF2607D0 for ; Tue, 23 Aug 2016 14:07:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DAB6B28BCA for ; Tue, 23 Aug 2016 14:07:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CF78028C0C; Tue, 23 Aug 2016 14:07:49 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 78C7628BCA for ; Tue, 23 Aug 2016 14:07:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753830AbcHWOHd (ORCPT ); Tue, 23 Aug 2016 10:07:33 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:35823 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753754AbcHWOHc (ORCPT ); Tue, 23 Aug 2016 10:07:32 -0400 Received: by mail-wm0-f44.google.com with SMTP id f65so164430671wmi.0 for ; Tue, 23 Aug 2016 07:05:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yGYzWBxhwAuiFoWvdk+SPBSXJnNU+VVaorvc3gwoUqk=; b=iQ+YDzjeAqmU9m8rsbkRsc7Y6172Fw/wbxfpnoZlIurB43TwOx0kZLlZUJIDMPgUE5 zpPZozJmLX4WK34J02UnJGAc4bWZctjgfYpIn01W4OWkuy6X3eSKLESu1yxaFYnfLmfp sgVCQjcLWdtFKnZGA6hxGcLn8aMd5F13DC4JCaQY2+ILYatVTt9HtV4xRD9ihlqdmhLk tKIECWsEr61TTqdr5WuHuQ5i/d62TUzJePenmy9FqpnzE2kmswGupsw2zSlddAAP77xD 9cmrkl6iCNUiF/5wl7v8Ay8yaO8dgbRI6yoZslSoMHCzhbogZxNCC+Jtlx3QVK/FiXWh fO1Q== X-Gm-Message-State: AEkoousgdrl0e9aGesCzjJaZpuyQWKOF01THKHEcapfWdkj0mS7YxtKsP80wUddaMaLGZGqq X-Received: by 10.195.13.18 with SMTP id eu18mr22200045wjd.121.1471961146983; Tue, 23 Aug 2016 07:05:46 -0700 (PDT) Received: from veci.piliscsaba.szeredi.hu (pool-dsl-2c-0018.externet.hu. [217.173.44.24]) by smtp.gmail.com with ESMTPSA id wc3sm3993539wjc.47.2016.08.23.07.05.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Aug 2016 07:05:46 -0700 (PDT) From: Miklos Szeredi To: linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Al Viro Subject: [PATCH 7/7] vfs: add note about i_op->rename changes to porting Date: Tue, 23 Aug 2016 16:05:32 +0200 Message-Id: <1471961132-1675-8-git-send-email-mszeredi@redhat.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1471961132-1675-1-git-send-email-mszeredi@redhat.com> References: <1471961132-1675-1-git-send-email-mszeredi@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Miklos Szeredi --- Documentation/filesystems/porting | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting index b1bd05ea66b2..1ab28d9b612a 100644 --- a/Documentation/filesystems/porting +++ b/Documentation/filesystems/porting @@ -592,3 +592,7 @@ in your dentry operations instead. work just as well; if it's something more complicated, use dentry->d_parent. Just be careful not to assume that fetching it more than once will yield the same value - in RCU mode it could change under you. +-- +[mandatory] + ->rename() has an added flags argument. Any flags not handled by the + filesystem should result in EINVAL being returned.