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

ovl: update doc

The quirk for file locks and leases no longer applies.

Add missing info about renaming directory residing on lower layer.

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

+ 3 - 3
Documentation/filesystems/overlayfs.txt

@@ -185,13 +185,13 @@ filesystem, so both st_dev and st_ino of the file may change.
 
 
 Any open files referring to this inode will access the old data.
 Any open files referring to this inode will access the old data.
 
 
-Any file locks (and leases) obtained before copy_up will not apply
-to the copied up file.
-
 If a file with multiple hard links is copied up, then this will
 If a file with multiple hard links is copied up, then this will
 "break" the link.  Changes will not be propagated to other names
 "break" the link.  Changes will not be propagated to other names
 referring to the same inode.
 referring to the same inode.
 
 
+Directory trees are not copied up.  If rename(2) is performed on a directory
+which is on the lower layer or is merged, then -EXDEV will be returned.
+
 Changes to underlying filesystems
 Changes to underlying filesystems
 ---------------------------------
 ---------------------------------