moby/daemon/graphdriver
Tonis Tiigi 6d97339ca2 Fix AUFS silent mount errors on many layers
Fixes #1171
Fixes #6465

Data passed to mount(2) is clipped to PAGE_SIZE if its bigger. Previous 
implementation checked if error was returned and then started to append layers 
one by one. But if the PAGE_SIZE clipping appeared in between the paths, in the 
permission sections or in xino definition the call would not error and 
remaining layers would just be skipped(or some other unknown situation).

This also optimizes system calls as it tries to mount as much as possible with 
the first mount.


Signed-off-by: Tõnis Tiigi <tonistiigi@gmail.com> (github: tonistiigi)
2014-11-13 20:13:13 +02:00
..
aufs Fix AUFS silent mount errors on many layers 2014-11-13 20:13:13 +02:00
btrfs mount: move the MakePrivate to pkg/mount 2014-10-30 17:04:56 -04:00
devmapper Merge pull request #8982 from rhvgoyal/save-restore-device-id 2014-11-12 15:41:27 -08:00
graphtest update go import path and libcontainer 2014-07-24 22:19:50 +00:00
vfs Use archive.CopyWithTar in vfs.Create 2014-10-27 11:38:22 -07:00
driver.go mount: move the MakePrivate to pkg/mount 2014-10-30 17:04:56 -04:00
fsdiff.go Mass gofmt 2014-10-24 15:11:48 -07:00