diff options
author | Vijay Bellur <vijay@gluster.com> | 2009-10-30 12:32:07 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-31 07:14:10 -0700 |
commit | 4ff046a1e1747cf93c650bd9c630547cdeaa3793 (patch) | |
tree | 5d0e08254e91ea76090636c501302533de5ba2ab /libglusterfs | |
parent | e4548d105538182ee3e2be72d9ceb11df18610fd (diff) |
features/locks: Do not try to set values in dictionary when lookup has failed
lock-count was being set without checking for op_ret from lookup. This would
cause a lot of Critical messages in the log as dict would be NULL in case
of a lookup failure.
Also, did some minor re-factoring.
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 306 (Enhance locks to aid debugging)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=306
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions