diff options
author | Volker Lendecke <vl@samba.org> | 2013-09-10 19:42:06 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2013-09-11 08:27:11 +0200 |
commit | 20cc710920d286f99f71bf0cf4ca95a7d17935dc (patch) | |
tree | 4f21d42ae20f8ad8e7fc3ac7aa10ff82f0695950 /source3/locking | |
parent | 07948ef6e12ac52ecbb23089495d3760028f019e (diff) | |
download | samba-20cc710920d286f99f71bf0cf4ca95a7d17935dc.tar.gz samba-20cc710920d286f99f71bf0cf4ca95a7d17935dc.tar.bz2 samba-20cc710920d286f99f71bf0cf4ca95a7d17935dc.zip |
smbd: Move "struct byte_range_lock" definition to brlock.c
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/brlock.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index cc5d7a8ae0..1f4c716391 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -43,6 +43,16 @@ static struct db_context *brlock_db; +struct byte_range_lock { + struct files_struct *fsp; + unsigned int num_locks; + bool modified; + bool read_only; + struct file_id key; + struct lock_struct *lock_data; + struct db_record *record; +}; + /**************************************************************************** Debug info at level 10 for lock struct. ****************************************************************************/ |