1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/smbd
Volker Lendecke 27e20d5d60 s3: Make us survive smb2.lock.rw-shared with aio enabled
schedule_aio_smb2_write can return NT_STATUS_FILE_LOCK_CONFLICT.
This is a valid error code that smb2.lock.rw-shared expects and
checks for. The code before this patch maps this to NT_STATUS_FILE_CLOSED,
masking the real, correct error message.

Signed-off-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jul 13 21:53:51 CEST 2012 on sn-devel-104
2012-07-13 21:53:51 +02:00
..
aio.c Add an optimization to pthread aio writes to also do fsync if requested. 2012-07-12 22:46:07 +02:00
avahi_register.c s3-param Remove special case for global_myname(), rename to lp_netbios_name() 2011-06-09 12:40:09 +02:00
blocking.c s3:smbd: change blocking.c to use fsp_fnum_dbg() for fsp->fnum logging. 2012-06-15 03:28:14 +02:00
close.c s3:util: rename procid_equal() to serverid_equal() 2012-06-21 08:27:32 +02:00
conn_idle.c s3: Fix Coverity ID 709218 Uninitialized pointer read 2012-07-03 13:39:42 +02:00
conn_msg.c s3:smbd/conn_msg: use talloc_get_type_abort() as private_data can't be NULL 2011-12-14 12:00:07 +01:00
conn.c s3:smbd: make use of smbXsrv_tcon for smb1 2012-06-25 20:55:06 +02:00
connection.c s3:smb: introduce a name TID_FIELD_INVALID for the invalid value for a cnum/tid 2012-06-06 19:37:14 +02:00
dfree.c s3:vfs_gpfs: Export disk_norm function 2012-03-22 18:41:22 +01:00
dir.c build: Remove SMB_OFF_T, replace with off_t 2012-04-06 01:47:43 +02:00
dmapi.c s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() 2011-06-09 12:40:08 +02:00
dnsregister.c
dosmode.c s3: if we know a file is immutable, report it to be readonly 2012-07-04 12:01:20 +02:00
error.c s3-smbd: Avoid starting log lines with the word 'error' 2012-02-16 15:21:11 +11:00
fake_file.c s3:smbd: change fake_file.c to use fsp_fnum_dbg() for fsp->fnum logging. 2012-06-15 03:28:14 +02:00
file_access.c Based on code from Richard Sharpe <realrichardsharpe@gmail.com>, 2012-03-29 08:53:43 -07:00
fileio.c s3: Factor out "mark_file_modified" 2012-07-12 10:13:12 -07:00
filename.c s3:smbd/msdfs: pass allow_broken_path to resolve_dfspath_wcard() 2012-05-24 16:14:01 +02:00
files.c Add uint64_t mid field to the files_struct. 2012-06-30 02:23:39 +02:00
globals.c s3: Restore async i/o with the "native" AIO interface 2012-06-26 14:08:22 +02:00
globals.h s3:smbd:smb2: change smbXsrv_session0 to smbXsrv_session in struct user_struct. 2012-07-03 13:39:39 +02:00
ipc.c s3:smbd: make use of smbXsrv_tcon for smb1 2012-06-25 20:55:06 +02:00
lanman.c s3:smbd: pass down vuid as uint64_t in lanman.c 2012-06-06 10:18:41 +02:00
mangle_hash2.c First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems 2011-07-19 13:19:29 -07:00
mangle_hash.c TDB2: make SAMBA use tdb1 again for the moment. 2012-06-19 05:38:05 +02:00
mangle.c
message.c s3:smbd: move global smbd_msg_state to smbXsrv_connection 2012-05-25 11:01:27 +02:00
msdfs.c s3:smb: introduce a name TID_FIELD_INVALID for the invalid value for a cnum/tid 2012-06-06 19:37:14 +02:00
negprot.c s3-smbd: Remove unused branches in negprot since security=share was removed 2012-06-11 11:44:07 +02:00
noquotas.c
notify_inotify.c rely on sys/inotify.h for inotify 2012-04-13 21:15:00 +02:00
notify_internal.c s3-param: Rename loadparm_s3_context -> loadparm_s3_helpers 2012-06-27 17:11:16 +02:00
notify.c s3:smbd: make struct notify_change_buf private to notify.c 2012-06-06 10:18:37 +02:00
ntquotas.c lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent. 2012-03-24 15:23:02 +01:00
nttrans.c s3:smbd: change nt_open_pipe() to uint16_t pnum/fnum 2012-06-28 14:47:45 +02:00
open.c Set fsp->initial_allocation_size before calling open_file_ntcreate(). 2012-07-12 22:46:07 +02:00
oplock_irix.c build: Remove sys_open wrapper 2012-04-05 02:39:08 +02:00
oplock_linux.c Fix bug #8974 - Kernel oplocks are broken when uid(file) != uid(process). 2012-06-21 21:53:58 +02:00
oplock.c s3:util: rename procid_equal() to serverid_equal() 2012-06-21 08:27:32 +02:00
password.c s3:smbd: remove now unused invalidate_all_vuids() 2012-06-25 20:55:06 +02:00
perfcount.c Fix many const compiler warnings. 2011-05-05 10:41:59 -07:00
pipes.c s3:smbd: change pipes.c to use fsp_fnum_dbg() for fsp->fnum logging. 2012-06-15 03:28:14 +02:00
posix_acls.c s3:smbd: use FNUM_FIELD_INVALID instead of literal -1 2012-06-15 03:28:13 +02:00
process.c s3-auth Remove unused global_machine_account_needs_changing 2012-07-13 07:52:40 +02:00
proto.h Add an optimization to pthread aio writes to also do fsync if requested. 2012-07-12 22:46:07 +02:00
pysmbd.c s4-provision: Give better clues on what Samba needs for s3fs ACL support 2012-06-21 14:07:55 +02:00
quotas.c build: Remove sys_fopen wrapper 2012-04-05 02:39:08 +02:00
reply.c s3:smbd: make use of smbXsrv_session for smb1 2012-06-25 20:55:06 +02:00
seal.c libcli/smb: Convert struct smb_trans_enc_state to talloc 2012-01-31 20:17:10 +01:00
sec_ctx.c Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. 2012-06-28 17:15:16 -07:00
server_exit.c s3:smbd: use smbXsrv_session_logoff_all() and smb1srv_tcon_disconnect_all() in exit_server_common() 2012-06-25 20:55:06 +02:00
server_reload.c Forward port of Richard Sharpe's <realrichardsharpe@gmail.com> fix for bug #8970 - Possible memory leaks in the samba master process. 2012-05-31 16:08:44 -07:00
server.c s3:smbd: add smbXsrv_open* infrastructure 2012-06-29 19:11:04 +02:00
service.c s3:smbd: make use of smbXsrv_tcon for smb1 2012-06-25 20:55:06 +02:00
session.c s3:smbd: change user_struct->vuid to uint64_t 2012-06-06 12:07:33 +02:00
sesssetup.c s3:smbd/sesssetup: implement dynamic re-authentication and expire session if client supports it 2012-06-25 20:55:06 +02:00
share_access.c
signing.c s3:smbd/signing: use smbd_server_connection as talloc parent for its smb1 signing state 2012-05-25 00:23:53 +02:00
smb2_break.c s3:smbd: make use of smbXsrv_open for smb1/2/3 2012-06-29 21:01:11 +02:00
smb2_close.c s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2 2012-06-25 20:55:06 +02:00
smb2_create.c Don't allow asynchronous creates to be canceled in SMB2. 2012-06-30 04:10:02 +02:00
smb2_find.c s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2 2012-06-25 20:55:06 +02:00
smb2_flush.c s3:smbd: change smb2_flush.c to use fsp_fnum_dbg() for fsp->fnum logging. 2012-06-15 03:28:15 +02:00
smb2_getinfo.c s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2 2012-06-25 20:55:06 +02:00
smb2_glue.c s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2 2012-06-25 20:55:06 +02:00
smb2_ioctl.c s3:smbd: change smb2_ioctl.c to use fsp_fnum_dbg() for fsp->fnum logging. 2012-06-15 03:28:15 +02:00
smb2_keepalive.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_keepalive.c 2011-09-07 10:38:06 +02:00
smb2_lock.c s3:smbd: make use of smbXsrv_open for smb1/2/3 2012-06-29 21:01:11 +02:00
smb2_negprot.c s3:smb2_negprot: support SMB2_CAP_LARGE_MTU on everything but port 139 2012-06-29 00:14:56 +02:00
smb2_notify.c s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2 2012-06-25 20:55:06 +02:00
smb2_read.c s3:smbd: make use of smbXsrv_open for smb1/2/3 2012-06-29 21:01:11 +02:00
smb2_server.c s3: Fix Coverity ID 709217 Dereference after null check 2012-07-03 15:30:16 +02:00
smb2_sesssetup.c s3:smb2_sesssetup: make use of smb2srv_session_close_previous_send/recv 2012-06-25 20:55:07 +02:00
smb2_setinfo.c s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2 2012-06-25 20:55:06 +02:00
smb2_tcon.c s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2 2012-06-25 20:55:06 +02:00
smb2_write.c s3: Make us survive smb2.lock.rw-shared with aio enabled 2012-07-13 21:53:51 +02:00
smbd.h s3:smbd: Include smbXsrv.h before vfs.h (in smbd.h) so that the smbXsrv structures are available 2012-07-03 13:39:41 +02:00
smbXsrv_open.c s3:smbd: add smbXsrv_open* infrastructure 2012-06-29 19:11:04 +02:00
smbXsrv_session.c s3:smbXsrv_session: pass max_sessions explicitly for smbXsrv_session_table_init() 2012-06-26 12:17:33 +02:00
smbXsrv_tcon.c s3:smbXsrv_tcon: pass max_tcons explicitly for smbXsrv_tcon_table_init() 2012-06-26 12:18:03 +02:00
smbXsrv_version.c s3:smbd: add smbXsrv_version_* infrastructure 2012-06-25 20:55:05 +02:00
srvstr.c s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() 2011-06-09 12:40:08 +02:00
statcache.c Second part of fix for bug #8541 - readlink() on Linux clients fails if the symlink target is outside of the share. 2011-10-22 04:57:10 +02:00
statvfs.c s3: evaluate MNT_QUOTA and MNT_RDONLY in statvfs also on darwin 2012-07-05 22:00:52 +02:00
trans2.c Remove unused code now we set the correct command codes. 2012-06-19 10:27:24 -07:00
uid.c s3:smbd: change vuid to uint64_t in uid.c 2012-06-06 10:18:41 +02:00
utmp.c lib/util: Remove obsolete sys_getpid() and sys_fork(). 2012-03-24 21:55:40 +01:00
vfs.c s3: Fix Coverity ID 703869 Logically dead code 2012-06-11 17:26:53 +02:00