>From Vincent Saulue-Laborde <vincent.sau...@bull.net>:

Vincent Saulue-Laborde has uploaded a new change for review.

  https://review.gerrithub.io/233493

Change subject: 9P : Turn user credentials into a refcounted object
......................................................................

9P : Turn user credentials into a refcounted object

This change is useful for several reasons :

1) The current implementation supposes that the root of the export (obtained
with attach) is the last to be clunked. This could easily cause memory
corruption / segfault.

2) Every _9p_fid structure currently have an user_cred field. This is
misleading because it is not always filled. This patch replaces it with
a pointer to a filled structure.

Change-Id: Ib26f0b47f7dfcc3b279752543603f6e06759ebe7
Signed-off-by: Vincent Saulue-Laborde <vincent.sau...@bull.net>
---
M src/Protocols/9P/9p_attach.c
M src/Protocols/9P/9p_proto_tools.c
M src/Protocols/9P/9p_remove.c
M src/Protocols/9P/9p_walk.c
M src/Protocols/9P/9p_xattrwalk.c
M src/include/9p.h
6 files changed, 147 insertions(+), 25 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib26f0b47f7dfcc3b279752543603f6e06759ebe7
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Vincent Saulue-Laborde <vincent.sau...@bull.net>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to