summaryrefslogtreecommitdiffstats
path: root/source3/locking
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-12-06 02:51:13 +0000
committerTim Potter <tpot@samba.org>2000-12-06 02:51:13 +0000
commita58ca91245334515fbc0132ab72772bb067a8131 (patch)
tree1d48403a794847ef132eff7b97c605185a815601 /source3/locking
parent0293259eaa6fd49f69bc6f0181c9145158c4e67f (diff)
downloadsamba-a58ca91245334515fbc0132ab72772bb067a8131.tar.gz
samba-a58ca91245334515fbc0132ab72772bb067a8131.tar.xz
samba-a58ca91245334515fbc0132ab72772bb067a8131.zip
tdb_unlockchain() no longer returns a value
(This used to be commit aee52c7acf138f8fd651aeb3d9bef79f99d1a2a9)
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 2056e6dcf59..b3601e8752d 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -280,10 +280,10 @@ BOOL lock_share_entry(connection_struct *conn,
/*******************************************************************
Unlock a hash bucket entry.
******************************************************************/
-BOOL unlock_share_entry(connection_struct *conn,
+void unlock_share_entry(connection_struct *conn,
SMB_DEV_T dev, SMB_INO_T inode)
{
- return tdb_chainunlock(tdb, locking_key(dev, inode)) == 0;
+ tdb_chainunlock(tdb, locking_key(dev, inode));
}
@@ -298,9 +298,9 @@ BOOL lock_share_entry_fsp(files_struct *fsp)
/*******************************************************************
Unlock a hash bucket entry.
******************************************************************/
-BOOL unlock_share_entry_fsp(files_struct *fsp)
+void unlock_share_entry_fsp(files_struct *fsp)
{
- return tdb_chainunlock(tdb, locking_key(fsp->dev, fsp->inode)) == 0;
+ tdb_chainunlock(tdb, locking_key(fsp->dev, fsp->inode));
}
/*******************************************************************