All done, added bit semaphore and used nOF like partition mutex

Signed-off-by: mary92 <maijacivovic@gmail.com>