Re: [lxc-devel] [PATCH v2] open_without_symlink: Don't SYSERROR on something else than ELOOP

2016-03-23 Thread Christian Brauner
Hi, I've applied your changes to a local branch of mine to have them tested by our Jenkins testsuite: https://github.com/lxc/lxc/pull/911 Once that passes I'll merge (Your authorship and signoff are of course preserved!). Best Christian On Wed, Mar 23, 2016 at 12:30:05PM +, Bogdan

[lxc-devel] [PATCH v2] open_without_symlink: Don't SYSERROR on something else than ELOOP

2016-03-23 Thread Bogdan Purcareata
The open_without_symlink routine has been specifically created to prevent mounts with synlinks as source or destination. Keep SYSERROR'ing in that particular scenario, but leave error handling to calling functions for the other ones - e.g. optional bind mount when the source dir doesn't exist throw