[PATCH] Fix bug 12628 - is_locked optimization does not carry over from oplocks to leases

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH] Fix bug 12628 - is_locked optimization does not carry over from oplocks to leases

Samba - samba-technical mailing list
Re-adds an optimization that got lost when
we moved from oplocks -> leases.

The first patch is only needed due to
build-system buggery to do with source3/locking/locking.c
being used in smbstatus and other external things.

Please review and push if happy !

Jeremy.

bug-12628 (8K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH] Fix bug 12628 - is_locked optimization does not carry over from oplocks to leases

Samba - samba-technical mailing list
On Tue, Mar 14, 2017 at 01:45:22PM -0700, Jeremy Allison wrote:
> Re-adds an optimization that got lost when
> we moved from oplocks -> leases.
>
> The first patch is only needed due to
> build-system buggery to do with source3/locking/locking.c
> being used in smbstatus and other external things.
>
> Please review and push if happy !

oh, good catch! Was looking at this code just today and didn't notice. :)

pushed with some minor reindetataion of the DEBUG statement and an adjustment to
adhere to README.Coding (multiline if condition). Sorry, couldn't resist... :)

Cheerio!
-slow

Loading...