diff options
author | shishir gowda <shishirng@gluster.com> | 2011-03-21 05:35:06 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-06-14 02:38:17 -0700 |
commit | 4a95dd213c039834c958bc1e3845037aa87fcde2 (patch) | |
tree | 1593722613121367a4b48740090f25d32de0e039 /xlators/storage/posix/src/posix.c | |
parent | 2a2060359a6991e310e6532376273bccb9cfbadc (diff) |
Prevent spurious getxattr for gfid-req in posix_lookup
Signed-off-by: shishir gowda <shishirng@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
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
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
-rw-r--r-- | xlators/storage/posix/src/posix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index d9f27e33054..1ef88df1047 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)) { |