summaryrefslogtreecommitdiffstats
path: root/glusterfsd
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2009-11-02 00:34:10 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-01 22:23:22 -0800
commitf8a56c6322d729fcdb96c754dd421fffb025e3bb (patch)
tree428b97a0cd3dbbbb59b461fb1bd8139e1f2a7366 /glusterfsd
parentb4b20984721e169763a5ac26ffb9353d1ca3568a (diff)
features/locks: Do not try to set value in dict when lookup has failed.v3.0.0pre1
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, removed some trailing white spaces and 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 'glusterfsd')
0 files changed, 0 insertions, 0 deletions