Zhu Shangzhong has uploaded this change for review.
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@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 change 464474. To unsubscribe, or for help writing mail filters, visit settings.