Эх сурвалжийг харах

vfs: add note about i_op->rename changes to porting

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Miklos Szeredi 9 жил өмнө
parent
commit
aadfa8019e

+ 4 - 0
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.
 	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
 	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.
 	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.