sanity checks that are too expensive to be left in `production'
mode.
+Severity : minor
+Bugzilla : 16450
+Description: Zap lock->l_granted_mode with explicit LCK_MINMODE.
+Details : Use LCK_MINMODE rather than 0 to reset lock->l_granted_mode to
+ its initial state.
+
--------------------------------------------------------------------------------
2007-08-10 Cluster File Systems, Inc. <info@clusterfs.com>
/* Make sure we will not be called again for same lock what is possible
* if not to zero out lock->l_granted_mode */
- lock->l_granted_mode = 0;
+ lock->l_granted_mode = LCK_MINMODE;
unlock_res_and_lock(lock);
EXIT;