summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src/marker-common.c
diff options
context:
space:
mode:
authorJunaid <junaid@gluster.com>2011-04-12 05:06:03 +0000
committerAnand Avati <avati@gluster.com>2011-04-12 21:50:05 -0700
commit1fd570380ba5def514ff42e81008a7ddd588348f (patch)
treedb72f86b960449968d88e723cff0fa51d05d32ed /xlators/features/marker/src/marker-common.c
parent9c26fbc70ab797eea7967bc77857e73eca9aeffe (diff)
features/marker: Adding NULL checks.
Signed-off-by: Junaid <junaid@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2473 (Support for volume and directory level quota) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2473
Diffstat (limited to 'xlators/features/marker/src/marker-common.c')
-rw-r--r--xlators/features/marker/src/marker-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/src/marker-common.c b/xlators/features/marker/src/marker-common.c
index 855fb9936c5..a9431b6283b 100644
--- a/xlators/features/marker/src/marker-common.c
+++ b/xlators/features/marker/src/marker-common.c
@@ -43,7 +43,7 @@ marker_force_inode_ctx_get (inode_t *inode, xlator_t *this,
marker_inode_ctx_t **ctx)
{
int32_t ret = -1;
- uint64_t ctx_int;
+ uint64_t ctx_int = 0;
LOCK (&inode->lock);
{