summaryrefslogtreecommitdiff
path: root/lib/util/tests
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-11-26 16:47:14 -0800
committerTim Prouty <tprouty@samba.org>2008-12-09 14:51:48 -0800
commitb3c785f22edeff5f731af95ec1252517c4677451 (patch)
tree012d70a40c32b21172e71e52a3f2b150a9c20c6c /lib/util/tests
parent2053f77b3c71ad40a875614b98e547fd558375ad (diff)
downloadsamba-b3c785f22edeff5f731af95ec1252517c4677451.tar.gz
samba-b3c785f22edeff5f731af95ec1252517c4677451.tar.bz2
samba-b3c785f22edeff5f731af95ec1252517c4677451.zip
s3: Call fd_close from close_directory
Some implementations of SMB_VFS_CREATE_FILE implementations actually keep an fd open for directories just as files. In this case it is necessary to call fd_close when closing directories. This is safe because fd_close is a no-op when fd == -1, which is true for directory opens originating from open.c (the default SMB_VFS_CREATE_FILE implementation).
Diffstat (limited to 'lib/util/tests')
0 files changed, 0 insertions, 0 deletions