summaryrefslogtreecommitdiffstats
path: root/xlators/features/trash/src/trash.h
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-07-20 04:24:08 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-20 09:45:44 -0700
commit22516806e1c0c7830362f8d7fe055037df0d09e8 (patch)
tree2df73c2d07ea5ce6e00f74a9d4f096a2bda72db0 /xlators/features/trash/src/trash.h
parenta81a794c9311f90551277670c0f9d201bd96abfc (diff)
features/trash convert STACK_UNWIND TO STACK_UNWIND STRICT
Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 269 (Add a specialized STACK_UNWIND macro for each FOP) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=269
Diffstat (limited to 'xlators/features/trash/src/trash.h')
-rw-r--r--xlators/features/trash/src/trash.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/features/trash/src/trash.h b/xlators/features/trash/src/trash.h
index e1a1c314dc8..ea393fe67ef 100644
--- a/xlators/features/trash/src/trash.h
+++ b/xlators/features/trash/src/trash.h
@@ -59,8 +59,8 @@ struct trash_struct {
char origpath[PATH_MAX];
char newpath[PATH_MAX];
int32_t loop_count;
- struct stat preparent;
- struct stat postparent;
+ struct iatt preparent;
+ struct iatt postparent;
};
typedef struct trash_struct trash_local_t;
@@ -77,11 +77,11 @@ struct trash_priv {
};
typedef struct trash_priv trash_private_t;
-#define TRASH_STACK_UNWIND(frame, params ...) do { \
+#define TRASH_STACK_UNWIND(op, frame, params ...) do { \
trash_local_t *__local = NULL; \
__local = frame->local; \
frame->local = NULL; \
- STACK_UNWIND (frame, params); \
+ STACK_UNWIND_STRICT (op, frame, params); \
trash_local_wipe (__local); \
} while (0)