Fixing semaphore tracking

Semaphores were not being tracked individually.  This update tracks
each semaphore by file inode where the semaphore is acquired and released.