diff options
author | Jeremy Allison <jra@samba.org> | 2000-04-11 21:38:45 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-04-11 21:38:45 +0000 |
commit | df4302f3911447fcebe9342f6cbf3b89bd3bafba (patch) | |
tree | 7851cc48b1f2e88cc5e21cfd04e1f13fe757791c /source/include/proto.h | |
parent | 491eea8a20bf80d426625479326211dc975857a6 (diff) | |
download | samba-df4302f3911447fcebe9342f6cbf3b89bd3bafba.tar.gz samba-df4302f3911447fcebe9342f6cbf3b89bd3bafba.tar.xz samba-df4302f3911447fcebe9342f6cbf3b89bd3bafba.zip |
The latest open() code changes broke the NT directory opens. Detect if a
read-only open on a directory was done and return an EISDIR from open_file().
Changed interface to fd_close to return error.
Jeremy.
Diffstat (limited to 'source/include/proto.h')
-rw-r--r-- | source/include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/proto.h b/source/include/proto.h index f6d387d19e3..b7cfb83501a 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -3055,7 +3055,7 @@ int reply_nttrans(connection_struct *conn, /*The following definitions come from smbd/open.c */ -void fd_close(files_struct *fsp, int *err_ret); +int fd_close(struct connection_struct *conn, files_struct *fsp); void open_file_shared(files_struct *fsp,connection_struct *conn,char *fname,int share_mode,int ofun, mode_t mode,int oplock_request, int *Access,int *action); int open_file_stat(files_struct *fsp,connection_struct *conn, |