>From Daniel Gryniewicz <d...@redhat.com>:

Daniel Gryniewicz has uploaded this change for review. ( 
https://review.gerrithub.io/402881


Change subject: MDCACHE - Initialize dirent structs in entry early
......................................................................

MDCACHE - Initialize dirent structs in entry early

When creating a new entry, we speculatively create one, and then try
again to find it.  If another thread raced, we throw away the
speculative one.  This cleanup, however, assumes all data structures
have been correctly initialized, but some dirent related ones were not
initialized until later, causing crash.

Move these initializations to early setup of the entry.

Change-Id: Ib25cc483a5fe4dc21e0811559868c994cddd28c4
Signed-off-by: Daniel Gryniewicz <d...@redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
1 file changed, 11 insertions(+), 10 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/81/402881/1
--
To view, visit https://review.gerrithub.io/402881
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib25cc483a5fe4dc21e0811559868c994cddd28c4
Gerrit-Change-Number: 402881
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <d...@redhat.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to