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

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:
Miklos Szeredi 2016-09-27 11:03:58 +02:00
parent 2773bf00ae
commit aadfa8019e
1 changed files with 4 additions and 0 deletions

View File

@ -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.