From: Miklos Szeredi Date: Tue, 27 Sep 2016 09:03:58 +0000 (+0200) Subject: vfs: add note about i_op->rename changes to porting X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aadfa8019e8114539cfa0b1eb2e5a9c83094a590;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git vfs: add note about i_op->rename changes to porting Signed-off-by: Miklos Szeredi --- 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.