[PATCH] avoid stat of foreign file systems in quota code
uri at samba.org
Thu Jan 28 05:37:49 UTC 2016
Do you think this needs a backport?
On 01/26/2016 11:37 PM, Jeremy Allison wrote:
> On Tue, Jan 19, 2016 at 12:07:22AM +0200, Uri Simchoni wrote:
>> 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".
>> That's a really nice patch - thanks ! Clever optimization.
More information about the samba-technical