[sr-dev] git:master: htable: use mode everywhere to control the locks for add operation