diff options
| author | Vikas Gorur <vikas@gluster.com> | 2009-11-12 08:44:14 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-13 02:13:36 -0800 | 
| commit | b526009f2f5ad813ec88602a3d4fd2ff322809a0 (patch) | |
| tree | 39c1af3dc95e34017e350024ef7d4e90db522deb | |
| parent | 84a50d45b4502d7efb842b41560f4ae5d62e3d78 (diff) | |
mount/fuse: Do readdirp in fuse_readdir.
Do the readdirp FOP in fuse_readdir. This is needed because
dht_readdir is not "reliable", whereas dht_readdirp is.
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
| -rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index 45e23cfc10f..886600522d8 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -2244,8 +2244,8 @@ fuse_readdir (xlator_t *this, fuse_in_header_t *finh, void *msg)                  "%"PRIu64": READDIR (%p, size=%"PRIu32", offset=%"PRId64")",                  finh->unique, fd, fri->size, fri->offset); -        FUSE_FOP (state, fuse_readdir_cbk, GF_FOP_READDIR, -                  readdir, fd, fri->size, fri->offset); +        FUSE_FOP (state, fuse_readdir_cbk, GF_FOP_READDIRP, +                  readdirp, fd, fri->size, fri->offset);  }  | 
