]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: add missing done check from unix_convert_step_stat() refactoring
authorRalph Boehme <slow@samba.org>
Tue, 28 Apr 2020 06:04:41 +0000 (08:04 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 28 Apr 2020 18:09:39 +0000 (18:09 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/filename.c

index f45a45c8c7f927c0ae9ce6eb69ecfe675b256ccd..7ed59794767729b433e59c3331e9a6d2bc471134 100644 (file)
@@ -841,6 +841,9 @@ static NTSTATUS unix_convert_step(struct uc_state *state)
        if (!NT_STATUS_IS_OK(status)) {
                return status;
        }
+       if (state->done) {
+               return NT_STATUS_OK;
+       }
 
        /*
         * Add to the dirpath that we have resolved so far.