From 4a95dd213c039834c958bc1e3845037aa87fcde2 Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Mon, 21 Mar 2011 05:35:06 +0000 Subject: Prevent spurious getxattr for gfid-req in posix_lookup Signed-off-by: shishir gowda Signed-off-by: Anand Avati BUG: 2570 (getxattr failed msgs seen in log when log-level is DEBUG) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2570 --- xlators/storage/posix/src/posix.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators') diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index d9f27e330..1ef88df10 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -114,6 +114,8 @@ _posix_xattr_get_set (dict_t *xattr_req, ssize_t req_size = 0; + if (!strcmp (key, "gfid-req")) + return; /* should size be put into the data_t ? */ if (!strcmp (key, GF_CONTENT_KEY) && IA_ISREG (filler->stbuf->ia_type)) { -- cgit