diff options
| author | Vikas Gorur <vikas@gluster.com> | 2009-10-08 05:48:21 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-08 07:53:30 -0700 | 
| commit | a310d0e6b0754c43c8b89ea5b78dcc4e8f2e0462 (patch) | |
| tree | d66f1b9135e8e9227996b663a4724d1dc7be7043 /xlators/cluster/dht/src/dht-common.h | |
| parent | 1534a696daf25ddea67bd2bc8e2ba1993eb366c6 (diff) | |
cluster/dht: Change STACK_UNWIND to STACK_UNWIND_STRICT.
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/cluster/dht/src/dht-common.h')
| -rw-r--r-- | xlators/cluster/dht/src/dht-common.h | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 13a47d74b37..62e32cfd8b2 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -158,12 +158,12 @@ typedef struct dht_disk_layout dht_disk_layout_t;  #define layout_is_sane(layout) ((layout) && (layout->cnt > 0)) -#define DHT_STACK_UNWIND(frame, params ...) do {       \ -		dht_local_t *__local = NULL;           \ -		__local = frame->local;                \ -		frame->local = NULL;		       \ -		STACK_UNWIND (frame, params);          \ -		dht_local_wipe (__local);	       \ +#define DHT_STACK_UNWIND(fop, frame, params ...) do {           \ +		dht_local_t *__local = NULL;                    \ +		__local = frame->local;                         \ +		frame->local = NULL;                            \ +		STACK_UNWIND_STRICT (fop, frame, params);       \ +		dht_local_wipe (__local);                       \  	} while (0)  #define DHT_STACK_DESTROY(frame) do {		       \  | 
