diff options
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/qfsinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/raw/qfsinfo.c b/source4/torture/raw/qfsinfo.c index 274d1073af..4d157383f6 100644 --- a/source4/torture/raw/qfsinfo.c +++ b/source4/torture/raw/qfsinfo.c @@ -54,7 +54,8 @@ static union smb_fsinfo *find(const char *name) { int i; for (i=0; levels[i].name; i++) { - if (strcmp(name, levels[i].name) == 0) { + if (strcmp(name, levels[i].name) == 0 && + NT_STATUS_IS_OK(levels[i].status)) { return &levels[i].fsinfo; } } |