Merge pull request #995 from dmuhamedagic/lock
Medium: ocf-shellfuncs: improve locking (ocf_take_lock)