s3:smbd:durable: factor stat checks out into vfs_default_durable_reconnect_check_stat()
commit52ace6767fddb389e3393c4b19685e59782c6a90
authorMichael Adam <obnox@samba.org>
Tue, 23 Oct 2012 11:00:02 +0000 (23 13:00 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 25 Oct 2012 21:03:13 +0000 (25 23:03 +0200)
tree2133df130e575d7bc318163ebdbff044abb753df
parenta2d53262e835b0c74282d389b1dd6dad2395f0f1
s3:smbd:durable: factor stat checks out into vfs_default_durable_reconnect_check_stat()

This makes vfs_default_durable_reconnect() simpler to read
and it reduces code duplication in the failure case handling.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct 25 23:03:13 CEST 2012 on sn-devel-104
source3/smbd/durable.c