diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2010-09-14 02:39:10 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-14 02:31:58 -0700 |
commit | 2152dae595438b919fbcb7349d15ead139e120d8 (patch) | |
tree | f45eb040125b4b7c40aa4b2751571c92fc85397b /xlators/storage | |
parent | 429a94c78ad3e6a956c847836a061c860d19e499 (diff) |
posix: Copy gfid from stat to dirent for readdirp
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'xlators/storage')
-rw-r--r-- | xlators/storage/posix/src/posix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 477574c2515..482a66e169c 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -3994,6 +3994,7 @@ posix_do_readdir (call_frame_t *frame, xlator_t *this, this_entry->d_off = telldir (dir); this_entry->d_ino = entry->d_ino; this_entry->d_stat = stbuf; + uuid_copy (this_entry->d_stat.ia_gfid, stbuf.ia_gfid); list_add_tail (&this_entry->list, &entries.list); |