summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix.h
diff options
context:
space:
mode:
authorMohammed Junaid <junaid@redhat.com>2012-04-09 12:14:59 +0530
committerVijay Bellur <vijay@gluster.com>2012-04-09 10:37:44 -0700
commit4bb82b2c779bb984a980e371c3119254cf1cb0f8 (patch)
tree46b8b2475c83fdcb9d4917f7cffc8fcfbd1f52c1 /xlators/storage/posix/src/posix.h
parent05a9780c9111396f4e2c3ebdae77cf8a257f1a54 (diff)
storage/posix: Avoid excessive logging in posix.v3.3.0qa34
When quota or gsyncd is enabled, the marker translator performs setxattr on files/directories. If the file/directory is deleted before setxattr, posix gets an error when it does setxattr and logs it. But its not an error for marker and it handles the case gracefully. Hence, avoid logging for these keys. Change-Id: Ic614777399497be92ed1c2b4718d46adfb639d96 BUG: 765498 Signed-off-by: Mohammed Junaid <junaid@redhat.com> Reviewed-on: http://review.gluster.com/3105 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/storage/posix/src/posix.h')
-rw-r--r--xlators/storage/posix/src/posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.h b/xlators/storage/posix/src/posix.h
index c551ffc1abd..7c2b47bb02b 100644
--- a/xlators/storage/posix/src/posix.h
+++ b/xlators/storage/posix/src/posix.h
@@ -54,7 +54,6 @@
#include "posix-mem-types.h"
#include "posix-handle.h"
-
/**
* posix_fd - internal structure common to file and directory fd's
*/
@@ -159,4 +158,5 @@ int posix_fd_ctx_get_off (fd_t *fd, xlator_t *this, struct posix_fd **pfd,
off_t off);
void posix_fill_ino_from_gfid (xlator_t *this, struct iatt *buf);
+gf_boolean_t posix_special_xattr (char **pattern, char *key);
#endif /* _POSIX_H */