[PATCH] return failure from grub-mount if fuse_main failed

2013-03-09 Thread Andrey Borzenkov
Currently there is no way to check that mount was successful. It caused problem with os-prober which did not try kernel mount fallback. Return value of fuse_init is currenty unused, but still it looks wrong to always return success. In this case it should simply be void; if it returns value, let v

Re: [PATCH] Ignore symlink traversal failures in grub-mount readdir

2013-03-09 Thread Andrey Borzenkov
В Fri, 12 Oct 2012 17:09:54 +0100 Colin Watson пишет: > This is very much a temporary hack, so I'm sending it here for > discussion rather than just committing it even though it's quite simple. > > r3036.1.15 introduced support for filling in the attributes of files in > fuse_readdir. However,