[PATCH] avoid stat of foreign file systems in quota code

Uri Simchoni uri at samba.org
Thu Jan 28 05:37:49 UTC 2016


Jeremy/Others,

Do you think this needs a backport?
Thanks,
Uri.

On 01/26/2016 11:37 PM, Jeremy Allison wrote:
> On Tue, Jan 19, 2016 at 12:07:22AM +0200, Uri Simchoni wrote:
>> Hi,
>>
>> Following the discussion on vfs_fileid, I realized that we may have
>> the same issue in the quota code. Whenever you type "dir" at a
>> Windows command prompt on a samba share, the client asks for free
>> space and activates the quota code.
>>
>> Attached is a fix that avoids stating mounted file systems that
>> cannot be "ours".
>>
>> <snip>
>> That's a really nice patch - thanks ! Clever optimization.
>>
>> Pushed.
>>




More information about the samba-technical mailing list