projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
118ace3
)
tdb2: Correct the comment explaining tdb_brlock().
author
Andreas Schlick
<schlick@lavabit.com>
Fri, 4 Mar 2011 15:41:53 +0000
(16:41 +0100)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 7 Mar 2011 23:41:04 +0000
(10:11 +1030)
ccan/tdb2/lock.c
patch
|
blob
|
history
diff --git
a/ccan/tdb2/lock.c
b/ccan/tdb2/lock.c
index b57c53449466437c7cdd16cdc21ff4c67866b8a9..b1799a7e1b9aa0ca9ec5652f573ba74ac7019761 100644
(file)
--- a/
ccan/tdb2/lock.c
+++ b/
ccan/tdb2/lock.c
@@
-120,7
+120,7
@@
static int fcntl_unlock(struct tdb_context *tdb, int rw, off_t off, off_t len)
}
/* a byte range locking function - return 0 on success
}
/* a byte range locking function - return 0 on success
- this functions locks
/unlocks 1 byte
at the specified offset.
+ this functions locks
len bytes
at the specified offset.
note that a len of zero means lock to end of file
*/
note that a len of zero means lock to end of file
*/