mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
tdb_chainunlock: ignore return value.
TDB2 returns void here. tdb_chainunlock will *always* return with the chain unlocked, but it will complain via the log function if it wasn't locked. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@ -131,8 +131,9 @@ int smb_unlock_share_mode_entry(struct smbdb_ctx *db_ctx,
|
||||
uint64_t extid)
|
||||
{
|
||||
struct locking_key lk;
|
||||
return tdb_chainunlock(db_ctx->smb_tdb,
|
||||
get_locking_key(&lk, dev, ino, extid));
|
||||
tdb_chainunlock(db_ctx->smb_tdb,
|
||||
get_locking_key(&lk, dev, ino, extid));
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user