浏览代码

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

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Miklos Szeredi 8 年之前
父节点
当前提交
aadfa8019e
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Documentation/filesystems/porting

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