• Linus Torvalds's avatar
    Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs · b948abf5
    Linus Torvalds authored
    Pull overlayfs update from Miklos Szeredi:
     "The biggest part of this is making st_dev/st_ino on the overlay behave
      like a normal filesystem (i.e. st_ino doesn't change on copy up,
      st_dev is the same for all files and directories). Currently this only
      works if all layers are on the same filesystem, but future work will
      move the general case towards more sane behavior.
    
      There are also miscellaneous fixes, including fixes to handling
      append-only files. There's a small change in the VFS, but that only
      has an effect on overlayfs, since otherwise file->f_path.dentry->inode
      and file_inode(file) are always the same"
    
    * 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs:
      ovl: update documentation w.r.t. constant inode numbers
      ovl: persistent inode numbers for upper hardlinks
      ovl: merge getattr for dir and nondir
      ovl: constant st_ino/st_dev across copy up
      ovl: persistent inode number for directories
      ovl: set the ORIGIN type flag
      ovl: lookup non-dir copy-up-origin by file handle
      ovl: use an auxiliary var for overlay root entry
      ovl: store file handle of lower inode on copy up
      ovl: check if all layers are on the same fs
      ovl: do not set overlay.opaque on non-dir create
      ovl: check IS_APPEND() on real upper inode
      vfs: ftruncate check IS_APPEND() on real upper inode
      ovl: Use designated initializers
      ovl: lockdep annotate of nested stacked overlayfs inode lock
    b948abf5
util.c 6.54 KB