diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-11-18 00:29:05 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-19 01:15:39 -0800 |
commit | d14d014782dd4d7023f99a054d0c4db37d020435 (patch) | |
tree | 510c2c103b059f1cf8e791b4eeda1ac4de7d1d9a /contrib | |
parent | 892710a37abcb10fdcff395a4369efce2af4c63f (diff) |
performance/stat-prefetch: don't use pre-allocated dirent structure in sp_get_cache_entry.
- since we don't know the size of dentry before calling sp_get_cache_entry,
we must dynamically allocate the dentry in sp_cache_get_entry and copy the
contents from cache.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 371 (rm -rf fails on stat-prefetch.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=371
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions