summaryrefslogtreecommitdiffstats
path: root/source3/smbd/files.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-05-02 17:22:10 -0700
committerJeremy Allison <jra@samba.org>2008-05-02 17:22:10 -0700
commitb430b382202858a6c52c1cacbb91910b2dd7e16c (patch)
tree4d2e2900d03a5abde1e7dd24b5c23404972a3712 /source3/smbd/files.c
parent85dc0ad7beb50dbab6d98a22b114f20537425268 (diff)
downloadsamba-b430b382202858a6c52c1cacbb91910b2dd7e16c.tar.gz
samba-b430b382202858a6c52c1cacbb91910b2dd7e16c.tar.xz
samba-b430b382202858a6c52c1cacbb91910b2dd7e16c.zip
Remove the "stat_open()" function, flag, and all associated code. It was only
being (correctly) used in the can_read/can_write checks for hide unreadable/unwritable and this is more properly done using the functions in smbd/file_access.c. Preparing to do NT access checks on all file access. Jeremy. (This used to be commit 6bfb06ad95963ae2acb67c4694a98282d3b29faa)
Diffstat (limited to 'source3/smbd/files.c')
-rw-r--r--source3/smbd/files.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index d6e91c67be1..17c473f028b 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -539,7 +539,6 @@ NTSTATUS dup_file_fsp(files_struct *fsp,
dup_fsp->print_file = fsp->print_file;
dup_fsp->modified = fsp->modified;
dup_fsp->is_directory = fsp->is_directory;
- dup_fsp->is_stat = fsp->is_stat;
dup_fsp->aio_write_behind = fsp->aio_write_behind;
string_set(&dup_fsp->fsp_name,fsp->fsp_name);