diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-11-12 08:44:13 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-13 02:13:32 -0800 |
commit | 84a50d45b4502d7efb842b41560f4ae5d62e3d78 (patch) | |
tree | 8aec1d892c02a6721653e5b287336008aa371e08 /xlators | |
parent | 18d85b59b9e8cc422c06e3ea94694d0cb2d26e1b (diff) |
cluster/dht: Do readdir in dht_readdir instead of readdirp
The readdir call will not be used by applications (fuse will
only ever send readdirp), but it will be used by
afr to do directory self-heal at the time of opendir.
Signed-off-by: Vikas Gorur <vikas@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 249 (Self heal of a file that does not exist on the first subvolume)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=249
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index 959e96ee9da..52fecc25502 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -2245,7 +2245,7 @@ int dht_readdir (call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, off_t yoff) { - dht_do_readdir (frame, this, fd, size, yoff, GF_FOP_READDIRP); + dht_do_readdir (frame, this, fd, size, yoff, GF_FOP_READDIR); return 0; } |