diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-06-18 05:33:20 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-06-18 13:08:04 -0700 |
commit | 617de1c718d4f082c8a8cf86c258284f5c918b2c (patch) | |
tree | 70f8b5e2af0047a51b281c3d7cdc8b938cd8ddd7 /libglusterfs/src | |
parent | 804e34cc4955cf5f176e70381da08cc617b6f79b (diff) |
libglusterfs: Chain newly allocated fdentries.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/fd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/fd.c b/libglusterfs/src/fd.c index cfebf1489dd..f67bdc82802 100644 --- a/libglusterfs/src/fd.c +++ b/libglusterfs/src/fd.c @@ -170,6 +170,7 @@ __gf_fd_fdtable_get_all_fds (fdtable_t *fdtable, uint32_t *count) fdentries = fdtable->fdentries; fdtable->fdentries = calloc (fdtable->max_fds, sizeof (fdentry_t)); + gf_fd_chain_fd_entries (fdtable->fdentries, 0, fdtable->max_fds); *count = fdtable->max_fds; out: |