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