summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-entry.c
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-04-08 12:24:31 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-04-08 12:56:58 -0700
commit1e30fc3e001594e9cfd372079adf2172bc9ed3df (patch)
treeb5ab4ec95ade31029f3bb743b581700d67a62ea8 /xlators/cluster/afr/src/afr-self-heal-entry.c
parente53cb0787943d51f880daa829aa5699851e985e8 (diff)
iatt: change S_IF macros with IA_IF macros in missing places
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 730 (unknown filetypes and inode conflicts in afr) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=730
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-entry.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-entry.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-entry.c b/xlators/cluster/afr/src/afr-self-heal-entry.c
index ef8de1987..4336c7a61 100644
--- a/xlators/cluster/afr/src/afr-self-heal-entry.c
+++ b/xlators/cluster/afr/src/afr-self-heal-entry.c
@@ -763,13 +763,13 @@ afr_sh_entry_expunge_remove (call_frame_t *expunge_frame, xlator_t *this,
type = buf->ia_type;
switch (type) {
- case S_IFSOCK:
- case S_IFREG:
- case S_IFBLK:
- case S_IFCHR:
- case S_IFIFO:
- case S_IFLNK:
- case S_IFDIR:
+ case IA_IFSOCK:
+ case IA_IFREG:
+ case IA_IFBLK:
+ case IA_IFCHR:
+ case IA_IFIFO:
+ case IA_IFLNK:
+ case IA_IFDIR:
afr_sh_entry_expunge_lookup_trash (expunge_frame, this, active_src);
break;
default:
@@ -1755,19 +1755,19 @@ afr_sh_entry_impunge_recreate_lookup_cbk (call_frame_t *impunge_frame,
type = buf->ia_type;
switch (type) {
- case S_IFSOCK:
- case S_IFREG:
- case S_IFBLK:
- case S_IFCHR:
- case S_IFIFO:
+ case IA_IFSOCK:
+ case IA_IFREG:
+ case IA_IFBLK:
+ case IA_IFCHR:
+ case IA_IFIFO:
afr_sh_entry_impunge_mknod (impunge_frame, this,
child_index, buf);
break;
- case S_IFLNK:
+ case IA_IFLNK:
afr_sh_entry_impunge_readlink (impunge_frame, this,
child_index, buf);
break;
- case S_IFDIR:
+ case IA_IFDIR:
afr_sh_entry_impunge_mkdir (impunge_frame, this,
child_index, buf);
break;
@@ -1848,7 +1848,7 @@ afr_sh_entry_impunge_entry_cbk (call_frame_t *impunge_frame, void *cookie,
active_src = impunge_sh->active_source;
if ((op_ret == -1 && op_errno == ENOENT)
- || (S_ISLNK (impunge_sh->impunging_entry_mode))) {
+ || (IA_ISLNK (impunge_sh->impunging_entry_mode))) {
/*
* A symlink's target might have changed, so