소스 검색

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

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Miklos Szeredi 9 년 전
부모
커밋
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.
 	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.