First part of fix for bug #5903 - vfs_streams_xattr breaks contents of the file.
commitfa9430c5674acd176e0a2887339f5514ce0ba8de
authorJeremy Allison <jra@samba.org>
Fri, 21 Nov 2008 18:46:31 +0000 (21 10:46 -0800)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Dec 2008 10:39:13 +0000 (9 11:39 +0100)
treec626d3ef3349ed36e7bd1365ddb258eb5d4c441f
parentf4f41b03b7a3e944fa2c8e31e0c003b8502a86af
First part of fix for bug #5903 - vfs_streams_xattr breaks contents of the file.
Restructures parts of open code so that fsp must be allocated before calling
open_file_ntcreate(_internal). Also fix up file ref-counting inside files.c.
Jeremy.
(cherry picked from commit 1f36db34d7483614e1a4d6d5f3437205bcb20541)
source/printing/printfsp.c
source/smbd/close.c
source/smbd/fake_file.c
source/smbd/files.c
source/smbd/open.c
source/smbd/reply.c