Zhu Shangzhong has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/464474 )
Change subject: Coverity: dead code in fsal_create
......................................................................
Coverity: dead code in fsal_create
A if statement checks at the beginning of the fsal_create to see whether
the enumeration 'type' is 1~7(REGULAR_FILE~DIRECTORY). In the switch
statement, the NO_FILE_TYPE is 0, and EXTENDED_ATTR is 8. So the dead
code should be removed from the switch statement.
Change-Id: If8b2153072134dc5738fd56980bbacf6533336cd
Signed-off-by: Shangzhong Zhu <zhu.shangzhong(a)zte.com.cn>
---
M src/FSAL/fsal_helper.c
1 file changed, 0 insertions(+), 9 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/74/464474/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/464474
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: If8b2153072134dc5738fd56980bbacf6533336cd
Gerrit-Change-Number: 464474
Gerrit-PatchSet: 1
Gerrit-Owner: Zhu Shangzhong <zhu.shangzhong(a)zte.com.cn>
Gerrit-MessageType: newchange