1. 01 Dec, 2015 1 commit
  2. 28 Oct, 2015 1 commit
  3. 22 Oct, 2015 1 commit
    • Jakob Unterwurzacher's avatar
      nodefs: do not overwrite the "out.Ino" inode number · 1b3f7953
      Jakob Unterwurzacher authored
      ...if it has already been set by the filesystem.
      
      "out.Ino" is the user-facing inode number that is displayed by "ls -li".
      
      This change allows loopback filesystems to expose the inode number of
      the underlying filesystem.
      As a "real" inode number, this one is stable for the lifetime of the file,
      even across remounts.
      
      libfuse has the `use_ino` option that allows the inode numbers to be set
      arbitrarily as well. This has been used by EncFS for years.
      
      The Linux kernel stores the inode number in `orig_ino`. Grepping in
      `fs/fuse` shows that it is only read once in `fuse_update_attributes`,
      and only if the `stat` argument is not NULL. There is only one caller
      that passes that argument: `fuse_getattr`.
      
      In short, the kernel does not use the inode number for anything but
      reporting it via `stat()`, hence setting the inode number is safe.
      
      This functionality will be used for improving log output in gocryptfs,
      where file names cannot be used because they are encrypted.
      1b3f7953
  4. 11 Oct, 2015 4 commits
  5. 30 Sep, 2015 1 commit
  6. 29 Sep, 2015 5 commits
  7. 24 Sep, 2015 4 commits
  8. 27 Jun, 2015 1 commit
  9. 22 Apr, 2015 7 commits
  10. 21 Apr, 2015 1 commit
  11. 03 Apr, 2015 3 commits
  12. 18 Mar, 2015 2 commits
  13. 04 Mar, 2015 3 commits
  14. 17 Dec, 2014 1 commit
  15. 12 Aug, 2014 4 commits
  16. 11 Aug, 2014 1 commit