Move the posix pending close functionality down into the VFS layer.
commit341544230f7f8415140cee95ed2066f49f609aae
authorMichael Adam <obnox@samba.org>
Fri, 11 Jan 2008 11:18:33 +0000 (11 12:18 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 7 May 2008 14:09:21 +0000 (7 16:09 +0200)
treea15205de149746762831b6332d00d6780be3bdf7
parent76c2fd6a6bc606a796995ac7c027f2e39dc70e3e
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
(cherry picked from commit 3cf56b124a2886c6260455bba4bf77d08e9a4f77)
source/locking/posix.c
source/modules/vfs_default.c
source/smbd/open.c