summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr
diff options
context:
space:
mode:
authorvinayak hegde <vinayak@gluster.com>2009-11-05 02:54:27 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-05 00:42:08 -0800
commitf98e7524b4c442ae08c3a335d412b1eeccb5863b (patch)
tree3436433857db7a89619b588385ab8972af4d39c5 /xlators/cluster/afr
parentadd4dd9623de51dd67ecb8450ad1a57894d92dc2 (diff)
cluster/afr: In fop structure afr_readdirp is not correctly registered.
Signed-off-by: Vinayak Hegde <vinayak@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 360 (All fop fails when stat-prefetch is loaded on afr.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=360
Diffstat (limited to 'xlators/cluster/afr')
-rw-r--r--xlators/cluster/afr/src/afr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c
index d4f8b1865..9f8ce884e 100644
--- a/xlators/cluster/afr/src/afr.c
+++ b/xlators/cluster/afr/src/afr.c
@@ -2707,7 +2707,7 @@ struct xlator_fops fops = {
/* dir read */
.opendir = afr_opendir,
.readdir = afr_readdir,
- .readdir = afr_readdirp,
+ .readdirp = afr_readdirp,
.getdents = afr_getdents,
/* dir write */