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)
commit3cf56b124a2886c6260455bba4bf77d08e9a4f77
tree06890e4a45ba9525f37f6f1ca3f108cbd7de56b7
parent3acc0d84dc8f29b67ddaa1124224a93cb43b07ad
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
source/locking/posix.c
source/modules/vfs_default.c
source/smbd/open.c