summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-06-08 19:00:18 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-06-09 10:53:36 +0200
commit260bc987b00b3fff6c9b99211627b14e9bd0789a (patch)
treea2444c89bc197c13950abc025764d72dcdebb621 /source4/torture
parent40ea52a267c7362e206ac83ff6d1fc586b05e2f4 (diff)
downloadsamba-260bc987b00b3fff6c9b99211627b14e9bd0789a.tar.gz
samba-260bc987b00b3fff6c9b99211627b14e9bd0789a.tar.bz2
samba-260bc987b00b3fff6c9b99211627b14e9bd0789a.zip
s4:ntvfs subsystem - quiet enum warnings
Simply return "NT_STATUS_INVALID_LEVEL" for unknown types of requests. Reviewed-by: Tridge
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/gentest.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c
index 37ae2c03e5..28e6953683 100644
--- a/source4/torture/gentest.c
+++ b/source4/torture/gentest.c
@@ -2309,15 +2309,7 @@ static void gen_setfileinfo(int instance, union smb_setfileinfo *info)
info->full_ea_information.in.eas = gen_ea_list();
break;
- case RAW_SFILEINFO_GENERIC:
- case RAW_SFILEINFO_SEC_DESC:
- case RAW_SFILEINFO_1025:
- case RAW_SFILEINFO_1029:
- case RAW_SFILEINFO_1032:
- case RAW_SFILEINFO_UNIX_BASIC:
- case RAW_SFILEINFO_UNIX_INFO2:
- case RAW_SFILEINFO_UNIX_LINK:
- case RAW_SFILEINFO_UNIX_HLINK:
+ default:
/* Untested */
break;
}