diff options
author | Jakob Unterwurzacher | 2021-08-23 15:05:15 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-08-23 15:05:15 +0200 |
commit | 69d88505fd7f4cb0d9e4f1918de296342fe05858 (patch) | |
tree | bbe102cb74b8d17b39ef16e3ab9b32cf94a314a4 /internal/syscallcompat/quirks_linux.go | |
parent | c9abfc8f06e1e0ce8e8b7ca480507647572a5df7 (diff) |
go mod: declare module version v2
Our git version is v2+ for some time now, but go.mod
still declared v1. Hopefully making both match makes
https://pkg.go.dev/github.com/rfjakob/gocryptfs/v2 work.
All the import paths have been fixed like this:
find . -name \*.go | xargs sed -i s%github.com/rfjakob/gocryptfs/%github.com/rfjakob/gocryptfs/v2/%
Diffstat (limited to 'internal/syscallcompat/quirks_linux.go')
-rw-r--r-- | internal/syscallcompat/quirks_linux.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/syscallcompat/quirks_linux.go b/internal/syscallcompat/quirks_linux.go index 262e48f..418f010 100644 --- a/internal/syscallcompat/quirks_linux.go +++ b/internal/syscallcompat/quirks_linux.go @@ -3,7 +3,7 @@ package syscallcompat import ( "golang.org/x/sys/unix" - "github.com/rfjakob/gocryptfs/internal/tlog" + "github.com/rfjakob/gocryptfs/v2/internal/tlog" ) // DetectQuirks decides if there are known quirks on the backing filesystem @@ -18,12 +18,12 @@ func DetectQuirks(cipherdir string) (q uint64) { return 0 } - // Preallocation on Btrfs is broken ( https://github.com/rfjakob/gocryptfs/issues/395 ) - // and slow ( https://github.com/rfjakob/gocryptfs/issues/63 ). + // Preallocation on Btrfs is broken ( https://github.com/rfjakob/gocryptfs/v2/issues/395 ) + // and slow ( https://github.com/rfjakob/gocryptfs/v2/issues/63 ). // // Cast to uint32 avoids compile error on arm: "constant 2435016766 overflows int32" if uint32(st.Type) == unix.BTRFS_SUPER_MAGIC { - logQuirk("Btrfs detected, forcing -noprealloc. See https://github.com/rfjakob/gocryptfs/issues/395 for why.") + logQuirk("Btrfs detected, forcing -noprealloc. See https://github.com/rfjakob/gocryptfs/v2/issues/395 for why.") q |= QuirkBrokenFalloc } |