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

Uri Simchoni uri at samba.org
Mon Jan 25 22:08:10 UTC 2016

Anyone cares to comment?


On 01/19/2016 12:07 AM, 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".
> - This patch is independent of the refactoring patch series that I 
> just re-sent
> - I haven't actually gone through the effort of verifying that there 
> is an issue, reproducing it, and seeing that the patch fixes it. Just 
> verified no degradation on my system. So I'm not sure whether this 
> patch falls under "bugfix" (that should be backported if it's good) or 
> "eliminating not-so-nice behavior".
> Thanks,
> Uri

More information about the samba-technical mailing list