vfs: add note about i_op->rename changes to porting
authorMiklos Szeredi <mszeredi@redhat.com>
Tue, 27 Sep 2016 09:03:58 +0000 (11:03 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 27 Sep 2016 09:03:58 +0000 (11:03 +0200)
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Documentation/filesystems/porting

index b1bd05e..1ab28d9 100644 (file)
@@ -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.