git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c2cdf57
)
g_lock: More correct error msg
author
Volker Lendecke
<vl@samba.org>
Wed, 17 May 2017 03:54:36 +0000
(
05:54
+0200)
committer
Volker Lendecke
<vl@samba.org>
Thu, 15 Jun 2017 11:19:13 +0000
(13:19 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/g_lock.c
patch
|
blob
|
history
diff --git
a/source3/lib/g_lock.c
b/source3/lib/g_lock.c
index 5b282e82e12e37fad6ff6a08803a2a884705fe4b..37cf70c5f123e3d552ea19c1bb764af17356a70b 100644
(file)
--- a/
source3/lib/g_lock.c
+++ b/
source3/lib/g_lock.c
@@
-131,7
+131,7
@@
static NTSTATUS g_lock_trylock(struct db_record *rec, struct server_id self,
data = dbwrap_record_get_value(rec);
if (!g_lock_parse(talloc_tos(), data, &num_locks, &locks)) {
- return NT_STATUS_INTERNAL_
ERROR
;
+ return NT_STATUS_INTERNAL_
DB_CORRUPTION
;
}
for (i=0; i<num_locks; i++) {