Add function to check is mount valid and use it
Merge branch 'master' of github.com:crazyh/autosync

Conflicts:
	src/autosync-main.c
	src/autosync.c
	tests/test.c