r15660: Without this when using smbcquotas I get
authorVolker Lendecke <vlendec@samba.org>
Wed, 17 May 2006 15:01:57 +0000 (15:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:17:06 +0000 (11:17 -0500)
commitc91a675ac108f48046ce72287c6d70a1a54ef65f
treec1e62ae11596c6428d075dad6cd9062b598f69a1
parenta8352092789e618e165318ff5f62099341dc6035
r15660: Without this when using smbcquotas I get

close fd=-1 fnum=4321 (numopen=1)
close_file: Could not get share mode lock for file $Extend/$Quota:$Q:$INDEX_ALLOCATION
unix_error_packet: error string = Das Argument ist ungültig
error packet at smbd/reply.c(3325) cmd=4 (SMBclose) NT_STATUS_INVALID_HANDLE

so a fake file needs special close handling I think. Jeremy, can you check
this?

Thanks,

Volker
(This used to be commit f66b9701b5c6bb6302fa11889adab6902cbaf2e3)
source3/smbd/close.c
source3/smbd/fake_file.c