summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-08-11 01:43:33 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-08-17 14:37:30 -0700
commit1e7a880cecfb4df0bb560f8d071cafda4889b6df (patch)
treead755471e808fda63c865db2298b379c6c9b9bec
parent70b1a8670152187bc4fb06d6a11437abe8481a9b (diff)
mount/fuse: Don't log setlk returning EAGAIN as a GF_LOG_ERROR.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index efc8ea54d..b0ac84ea8 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -2335,8 +2335,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));
}