summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/vfs/file_description.go
diff options
context:
space:
mode:
authorHoward Zhang <howard.zhang@arm.com>2021-07-23 11:31:38 +0800
committerHoward Zhang <howard.zhang@arm.com>2021-07-28 11:37:54 +0800
commitd393d696b25b94d712404a7a2f0f683518ba2ef0 (patch)
tree19e8fbe642c113a807530ea6af58eed999c5c926 /pkg/sentry/vfs/file_description.go
parentaa2698170041e9bc00542378269231b5eaeffd5d (diff)
tunning hasSlot function and fix store wrong value in usedSlots
Make hasSlot scan allocated slot, rather than the whole slice. It is supposed to store physicalStart in usedSlot. Signed-off-by: Howard Zhang <howard.zhang@arm.com>
Diffstat (limited to 'pkg/sentry/vfs/file_description.go')
0 files changed, 0 insertions, 0 deletions