vendor: bump containerd/btrfs to 153935315f4ab9be5bf03650a1341454b05efa5d
Fix building issue on mipsle Signed-off-by: Shengjing Zhu <zhsj@debian.org>
This commit is contained in:
17
vendor/github.com/containerd/btrfs/helpers.go
generated
vendored
17
vendor/github.com/containerd/btrfs/helpers.go
generated
vendored
@@ -14,21 +14,6 @@
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
Copyright The containerd Authors
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
package btrfs
|
||||
|
||||
/*
|
||||
@@ -66,7 +51,7 @@ var (
|
||||
)
|
||||
|
||||
func uuidString(uuid *[C.BTRFS_UUID_SIZE]C.u8) string {
|
||||
b := (*[1<<31 - 1]byte)(unsafe.Pointer(uuid))[:C.BTRFS_UUID_SIZE]
|
||||
b := (*[maxByteSliceSize]byte)(unsafe.Pointer(uuid))[:C.BTRFS_UUID_SIZE]
|
||||
|
||||
if bytes.Equal(b, zeros) {
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user