From eed9ed130dd0168a669bd3df03fc0b68a989165d Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Tue, 11 Aug 2009 01:43:33 +0000 Subject: mount/fuse: Don't log setlk returning EAGAIN as a GF_LOG_ERROR. Signed-off-by: Anand V. Avati --- xlators/mount/fuse/src/fuse-bridge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators') diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index 61fd2576b..296fd0799 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -2279,8 +2279,8 @@ fuse_setlk_cbk (call_frame_t *frame, void *cookie, xlator_t *this, "'features/posix-locks' on server side " "will add SETLK support."); } - } else { - gf_log ("glusterfs-fuse", GF_LOG_WARNING, + } else if (op_errno != EAGAIN) { + gf_log ("glusterfs-fuse", GF_LOG_ERROR, "%"PRId64": ERR => -1 (%s)", frame->root->unique, strerror (op_errno)); } -- cgit