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 | 2311ecab4c8aa4026d2ac609f439b90834ff96e2 (patch) | |
tree | ea051058e96026575e2c9be9e25ea7bcc36f73f1 /source3/include | |
parent | f6be38cae223f1ad3f4ecc5b81d14c44d92f58ba (diff) | |
download | samba-2311ecab4c8aa4026d2ac609f439b90834ff96e2.tar.gz samba-2311ecab4c8aa4026d2ac609f439b90834ff96e2.tar.bz2 samba-2311ecab4c8aa4026d2ac609f439b90834ff96e2.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.
(This used to be commit df4302f3911447fcebe9342f6cbf3b89bd3bafba)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index f6d387d19e..b7cfb83501 100644 --- a/source3/include/proto.h +++ b/source3/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, |