mirror of https://gitee.com/openkylin/linux.git
vfs: add note about i_op->rename changes to porting
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:
parent
2773bf00ae
commit
aadfa8019e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue