diff options
author | Amar Tumballi <amar@gluster.com> | 2011-03-16 09:42:19 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2011-03-17 11:58:51 -0700 |
commit | a938b273338094599c79dad7f60883599450e4ac (patch) | |
tree | ca2ec52760f09c6d95e7f7a882bccadcad89f0d2 /xlators/features/locks/src/inodelk.c | |
parent | 56b86533b1e2eca1535a7b20955b72baf25cd2ae (diff) |
features/locks: logging enhancement
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 2346 (Log message enhancements in GlusterFS - phase 1)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2346
Diffstat (limited to 'xlators/features/locks/src/inodelk.c')
-rw-r--r-- | xlators/features/locks/src/inodelk.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/features/locks/src/inodelk.c b/xlators/features/locks/src/inodelk.c index 851eeb08839..8ac5e4049f7 100644 --- a/xlators/features/locks/src/inodelk.c +++ b/xlators/features/locks/src/inodelk.c @@ -570,8 +570,6 @@ pl_common_inodelk (call_frame_t *frame, xlator_t *this, pinode = pl_inode_get (this, inode); if (!pinode) { - gf_log (this->name, GF_LOG_ERROR, - "Out of memory."); op_errno = ENOMEM; goto unwind; } @@ -593,8 +591,6 @@ pl_common_inodelk (call_frame_t *frame, xlator_t *this, reqlock = new_inode_lock (flock, transport, client_pid, owner, volume); if (!reqlock) { - gf_log (this->name, GF_LOG_ERROR, - "Out of memory."); op_ret = -1; op_errno = ENOMEM; goto unwind; |