The Samba-Bugzilla – Attachment 213 Details for
Bug 658
smbd cannot (apparently) obtain file locks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Display more debugs when tdb_brlock() fails
bug658-brlock-debug.patch (text/plain), 970 bytes, created by
Tim Potter
on 2003-10-21 23:17:29 UTC
(
hide
)
Description:
Display more debugs when tdb_brlock() fails
Filename:
MIME Type:
Creator:
Tim Potter
Created:
2003-10-21 23:17:29 UTC
Size:
970 bytes
patch
obsolete
>Index: tdb/tdb.c >=================================================================== >RCS file: /data/cvs/samba/source/tdb/tdb.c,v >retrieving revision 1.106.2.15 >diff -u -r1.106.2.15 tdb.c >--- tdb/tdb.c 18 Oct 2003 08:52:16 -0000 1.106.2.15 >+++ tdb/tdb.c 22 Oct 2003 06:07:38 -0000 >@@ -237,10 +237,15 @@ > tdb->fd, offset, rw_type, lck_type)); > } > /* Was it an alarm timeout ? */ >- if (errno == EINTR && palarm_fired && *palarm_fired) >+ if (errno == EINTR && palarm_fired && *palarm_fired) { >+ TDB_LOG((tdb, 5, "tdb_brlock timed out (fd=%d) at offset %d rw_type=%d lck_type=%d\n", >+ tdb->fd, offset, rw_type, lck_type)); > return TDB_ERRCODE(TDB_ERR_LOCK_TIMEOUT, -1); >+ } > /* Otherwise - generic lock error. */ > /* errno set by fcntl */ >+ TDB_LOG((tdb, 5, "tdb_brlock failed (fd=%d) at offset %d rw_type=%d lck_type=%d: %s\n", >+ tdb->fd, offset, rw_type, lck_type, strerror(errno))); > return TDB_ERRCODE(TDB_ERR_LOCK, -1); > } > return 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 658
:
209
|
210
|
212
| 213 |
215
|
216
|
217
|
218
|
225