>From <ka...@redhat.com>:

ka...@redhat.com has uploaded this change for review. ( 
https://review.gerrithub.io/387235


Change subject: fsal_gpfs: clean up gsh_malloc(), gsh_calloc(), and gsh_free()
......................................................................

fsal_gpfs: clean up gsh_malloc(), gsh_calloc(), and gsh_free()

gsh_malloc() and gsh_calloc() always return a valid pointer (or
they abort()), no need to check != NULL.

gsh_free() (like free(3)) handles NULL, no need to check for
ptr != NULL before calling gsh_free().

Change-Id: I9971cfd588b231a4228465a18bb294c3e5b7ecc4
Signed-off-by: Kaleb S. KEITHLEY <kkeit...@redhat.com>
---
M src/FSAL/FSAL_GPFS/handle.c
1 file changed, 1 insertion(+), 2 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9971cfd588b231a4228465a18bb294c3e5b7ecc4
Gerrit-Change-Number: 387235
Gerrit-PatchSet: 1
Gerrit-Owner: ka...@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