summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src/glusterfsd-messages.h
diff options
context:
space:
mode:
authorHumble Chirammal <hchiramm@redhat.com>2014-05-09 15:30:04 +0530
committerVijay Bellur <vbellur@redhat.com>2014-11-15 10:13:06 -0800
commit656711d935000c161012c25340dbd65a59999dc3 (patch)
tree98bc3ee2dee7e96af87d6d240430f5b613179355 /glusterfsd/src/glusterfsd-messages.h
parent8c4ae34f8803f44f2f1e459883581a953bca42ec (diff)
mem_acct : Check return value of xlator_mem_acct_init().
some code does not check xlator_mem_acct_init() return, thus fails to capture wrong memory accounting initialization. This patch fix the same. Change-Id: I01eab19d6cef472afd850b0f964132c01523492a BUG: 1123768 Signed-off-by: Humble Chirammal <hchiramm@redhat.com> Reviewed-on: http://review.gluster.org/7728 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'glusterfsd/src/glusterfsd-messages.h')
-rw-r--r--glusterfsd/src/glusterfsd-messages.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd-messages.h b/glusterfsd/src/glusterfsd-messages.h
index 3165c971f66..ba3b7a58735 100644
--- a/glusterfsd/src/glusterfsd-messages.h
+++ b/glusterfsd/src/glusterfsd-messages.h
@@ -107,6 +107,8 @@
#define glusterfsd_msg_33 (GLFS_COMP_BASE + 33), "obsolete option " \
"'--volfile-max-fetch-attempts or fetch-attempts' " \
"was provided"
+#define glusterfsd_msg_34 (GLFS_COMP_BASE + 34), "memory accounting init" \
+ " failed."
/*------------*/
#define glfs_msg_end_x GLFS_MSGID_END, "Invalid: End of messages"