diff options
author | Gaurav <gaurav@gluster.com> | 2011-10-11 11:15:30 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-11-16 02:05:27 -0800 |
commit | d4ff78d02d049335d827f9293a4e931261b5c2bb (patch) | |
tree | b1cb08b8c23f561ced5ef7cf7afeeb7f0d9a244b /xlators/nfs/server/src/nfs.c | |
parent | f97897c394a7f3e9d5e870ba9814ff2ebfc4cc01 (diff) |
NFS: logging enhancement.
Change-Id: Ie1731a6b2b63e07bc49a84c2f9dd87c5b50a9f53
BUG: 3527
Reviewed-on: http://review.gluster.com/573
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amar@gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/nfs/server/src/nfs.c')
-rw-r--r-- | xlators/nfs/server/src/nfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c index 9c942e1af..2bc7f02fc 100644 --- a/xlators/nfs/server/src/nfs.c +++ b/xlators/nfs/server/src/nfs.c @@ -132,8 +132,10 @@ nfs_init_versions (struct nfs_state *nfs, xlator_t *this) if (rpcsvc_register_portmap_enabled(nfs->rpcsvc)) { ret = rpcsvc_program_register_portmap (prog, prog->progport); - if (ret == -1) + if (ret == -1) { + gf_log (GF_NFS, GF_LOG_ERROR, "Program registration failed"); goto err; + } } } |