libgocryptfs/internal/fusefrontend
Jakob Unterwurzacher 778c955eea fusefrontend_reverse: switch to stable inode numbers
The volatile inode numbers that we used before cause "find" to complain and error out.
Virtual inode numbers are derived from their parent file inode number by adding 10^19,
which is hopefully large enough no never cause problems in practice.

If the backing directory contains inode numbers higher than that, stat() on these files
will return EOVERFLOW.

Example directory lising after this change:

  $ ls -i
               926473 gocryptfs.conf
  1000000000000926466 gocryptfs.diriv
               944878 gocryptfs.longname.hmZojMqC6ns47eyVxLlH2ailKjN9bxfosi3C-FR8mjA
  1000000000000944878 gocryptfs.longname.hmZojMqC6ns47eyVxLlH2ailKjN9bxfosi3C-FR8mjA.name
               934408 Tdfbf02CKsTaGVYnAsSypA
2017-04-01 17:19:15 +02:00
..
args.go fusefrontend_reverse: switch to stable inode numbers 2017-04-01 17:19:15 +02:00
ctlsock_interface.go ctlsock: better error message for forward mode path decryption 2017-01-29 18:55:52 +01:00
file.go fusefrontend: get rid of leftover debug output 2017-03-18 16:48:28 +01:00
file_allocate_truncate.go fusefrontend: truncateGrowFile: avoid createHeader() call 2017-03-12 21:06:59 +01:00
file_holes.go fusefrontend: truncateGrowFile: avoid createHeader() call 2017-03-12 21:06:59 +01:00
fs.go serialize_reads: add read serialization logic 2017-03-18 16:18:00 +01:00
fs_dir.go fusefrontend: use Lchown when preserving owner 2016-11-28 22:46:04 +01:00
names.go nametransform: delete unused function DecryptPathDirIV 2016-09-25 18:56:23 +02:00
write_lock.go Fix golint warnings, add helper script 2016-11-17 23:40:03 +01:00