Move the posix pending close functionality down into the VFS layer.
authorMichael Adam <obnox@samba.org>
Fri, 11 Jan 2008 11:18:33 +0000 (12:18 +0100)
committerMichael Adam <obnox@samba.org>
Sun, 20 Apr 2008 22:21:23 +0000 (00:21 +0200)
commit3756467db6a661be91f4aeb484000e993e4a9a4c
tree11c9030a4b2bd83a9716529e9bffa8e7f9900592
parent00210d773b64578992ed936290cc7ab9a6d4d187
Move the posix pending close functionality down into the VFS layer.

This hides the pending close fds from the outside. Call order
of SMB_VFS_CLOSE is reversed. Originally, it was:

fd_close -> fd_close_posix -> SMB_VFS_CLOSE -> close

And now it is:

fd_close -> SMB_VFS_CLOSE -> fd_close_posix -> close

This is in preparation of removing the fd parameter
from the SMB_VFS_CLOSE function. But it is also the right
place for the pending close calls anyways.

Michael
(This used to be commit 3cf56b124a2886c6260455bba4bf77d08e9a4f77)
source3/locking/posix.c
source3/modules/vfs_default.c
source3/smbd/open.c