PDVIAN has uploaded this change for review.

View Change

FSAL_CEPH : Fix inode reference leak

The ganesha server is crashing in deconstruct_handle while
dereferencing the inode. In this scenario, the cmount object is null
which indicates we fail to dereference some inodes. In ceph_fsal_readdir
we fail to dereference inodes for dir (self) and parent directory.

Change-Id: Iae66d5053067e8b8eb10679d31302c7418b7e270
Signed-off-by: Prashant D <prashant.dhange@gmail.com>
---
M src/FSAL/FSAL_CEPH/handle.c
1 file changed, 7 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/91/456591/1

To view, visit change 456591. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Iae66d5053067e8b8eb10679d31302c7418b7e270
Gerrit-Change-Number: 456591
Gerrit-PatchSet: 1
Gerrit-Owner: PDVIAN <prashant.dhange@gmail.com>
Gerrit-MessageType: newchange