]> git.proxmox.com Git - mirror_lxc.git/commit
open_without_symlink: Don't SYSERROR on something else than ELOOP
authorChristian Brauner <christian.brauner@mailbox.org>
Wed, 23 Mar 2016 15:37:09 +0000 (16:37 +0100)
committerChristian Brauner <christian.brauner@mailbox.org>
Wed, 23 Mar 2016 15:37:09 +0000 (16:37 +0100)
commit88e078ba865b675f9a0dc61caa0732d7052593f8
tree225e5e65942cfb67dc9ae24cce787e21f1676dc7
parent684753c2ba05aebcb422f486c81061a2ebb6e387
open_without_symlink: Don't SYSERROR on something else than ELOOP

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
throws a nasty error.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
src/lxc/utils.c