diff options
author | Barak Sason Rofman <bsasonro@redhat.com> | 2019-11-05 15:54:29 +0200 |
---|---|---|
committer | Sanju Rakonde <srakonde19@gmail.com> | 2019-12-19 09:10:01 +0000 |
commit | 8c6a19783e149dda1ab9143f48badfa617478e6e (patch) | |
tree | 94acbb5ecf91060b43f485f2e6ec518f02d8e49d /glusterfsd/src/glusterfsd-messages.h | |
parent | a7eeab9b497724cdc4de5a82b880ba824a9d8358 (diff) |
glusterd: refactoring long method
- Refactored set_fuse_mount_options(...) in order to shorten it.
- Removed dead code and moved some method to it's apropriate
location.
- Converted loggin in set_fuse_mount_options(...) to structured logs
fixes: bz#1768896
Change-Id: If865833d4c60d517da202871978691ef21235fe4
Signed-off-by: Barak Sason Rofman <bsasonro@redhat.com>
Diffstat (limited to 'glusterfsd/src/glusterfsd-messages.h')
-rw-r--r-- | glusterfsd/src/glusterfsd-messages.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd-messages.h b/glusterfsd/src/glusterfsd-messages.h index 209279d051b..8e824ecc458 100644 --- a/glusterfsd/src/glusterfsd-messages.h +++ b/glusterfsd/src/glusterfsd-messages.h @@ -36,4 +36,8 @@ GLFS_MSGID( glusterfsd_msg_36, glusterfsd_msg_37, glusterfsd_msg_38, glusterfsd_msg_39, glusterfsd_msg_40, glusterfsd_msg_41, glusterfsd_msg_42, glusterfsd_msg_43); +#define glusterfsd_msg_1_STR "Could not create absolute mountpoint path" +#define glusterfsd_msg_2_STR "Could not get current working directory" +#define glusterfsd_msg_3_STR "Failed to set dict value for key" + #endif /* !_GLUSTERFSD_MESSAGES_H_ */ |