summaryrefslogtreecommitdiffstats
path: root/xlators/performance
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-08-23 22:37:37 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-08 01:43:12 -0700
commiteecce95c2fc4713146e4ba99817abaac94102763 (patch)
treebe9b11273b865e767385f163f76bb0a0308dd0a0 /xlators/performance
parentef073ee5430e1f3af3bd580dd99a72352889756b (diff)
performance/stat-prefetch: don't check for a non-null parent and inode in newloc during rename.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 221 (stat prefetch implementation) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
Diffstat (limited to 'xlators/performance')
-rw-r--r--xlators/performance/stat-prefetch/src/stat-prefetch.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.c b/xlators/performance/stat-prefetch/src/stat-prefetch.c
index 73dad13d6f7..57bed9a52a7 100644
--- a/xlators/performance/stat-prefetch/src/stat-prefetch.c
+++ b/xlators/performance/stat-prefetch/src/stat-prefetch.c
@@ -1419,9 +1419,6 @@ sp_rename (call_frame_t *frame, xlator_t *this, loc_t *oldloc,loc_t *newloc)
GF_VALIDATE_OR_GOTO (this->name, newloc, unwind);
GF_VALIDATE_OR_GOTO (this->name, newloc->path, unwind);
- GF_VALIDATE_OR_GOTO (this->name, newloc->name, unwind);
- GF_VALIDATE_OR_GOTO (this->name, newloc->parent, unwind);
- GF_VALIDATE_OR_GOTO (this->name, newloc->inode, unwind);
cache = sp_get_cache_inode (this, oldloc->parent, frame->root->pid);
if (cache) {