Jeff Layton has uploaded this change for review.

View Change

FSAL_CEPH: call fsal_attach_export last

create_export doesn't call fsal_detach_export when it encounters an
error. We could fix this by calling fsal_detach_export in that
situation, but I see no reason to attach the thing to the fsal before
we've finished creating it. Move it to the end.

Change-Id: I2f992d7b22838c1bd1b5e791ba6766858c992825
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
M src/FSAL/FSAL_CEPH/main.c
1 file changed, 8 insertions(+), 9 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I2f992d7b22838c1bd1b5e791ba6766858c992825
Gerrit-Change-Number: 496142
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlayton@redhat.com>
Gerrit-MessageType: newchange