From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) 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> 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 List-ID: 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. -- 2.5.5