From 2152dae595438b919fbcb7349d15ead139e120d8 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Tue, 14 Sep 2010 02:39:10 +0000 Subject: posix: Copy gfid from stat to dirent for readdirp Signed-off-by: Shehjar Tikoo Signed-off-by: Vijay Bellur BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- xlators/storage/posix/src/posix.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/storage/posix/src/posix.c') 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); -- cgit