smbd: move pending aio cleanup to a helper function
commitacb0b01761330864a23932f643f7ad4e3d374634
authorRalph Boehme <slow@samba.org>
Mon, 9 Mar 2020 10:16:37 +0000 (9 11:16 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 9 Mar 2020 18:07:34 +0000 (9 18:07 +0000)
tree4403fee7bdbb361ff3f4812332b1dfe4846b7ee4
parent95cfcda13fe9a70b9955a7c44173d619eacb34c1
smbd: move pending aio cleanup to a helper function

We'll be reusing this from close_directory() in the next commit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14301

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/close.c