On Wed, Oct 10, 2018 at 02:21:31AM +0000, Martin Brandenburg wrote: > Before, orangefs_new_inode could return NULL which was not handled. > Instead allocate the inode before calling orangefs_new_inode where the > failure can be handled. Umm... Perhaps it would be easier to simply return ERR_PTR(-ENOMEM) in the same situation?