Don't fail LoopSetup() because fstat(2) fails
authorDavid Zeuthen <davidz@redhat.com>
Wed, 7 Dec 2011 21:09:03 +0000 (16:09 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 7 Dec 2011 21:09:03 +0000 (16:09 -0500)
commit87313418361a2832553f32e506aec190c887dbfe
tree1d9948824e83c28fd3d73887f37783d17bde30fd
parent7a7af583bf6e5b7e57451c1ce2e5280ae764215e
Don't fail LoopSetup() because fstat(2) fails

With this change, this method now works with fds from a GVfs FUSE
mount (where not even uid 0 may open files on).

Signed-off-by: David Zeuthen <davidz@redhat.com>
src/udiskscleanup.c
src/udiskslinuxmanager.c