|
From: | Thimo Emmerich |
Subject: | bug#50012: [PATCH] df: Fixed usage of incorrect stat data when using automount |
Date: | Thu, 12 Aug 2021 09:16:23 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.11.0 |
Thank you for taking care. Your fix seems more elaborated and works for me. On 11.08.21 20:24, Paul Eggert wrote:
On 8/11/21 8:59 AM, Thimo Emmerich wrote:Since the stat in [2]/df.c, line 1775 is necessary for the following fifo evaluation, it seems to be necessary to update the stat information after a successful open.Thanks for reporting the bug. I installed the attached. It differs a bit from what you proposed in that it prefers fstat to stat, as fstat should be a bit faster and should avoid some unlikely races (there are many more races, but one fix at a time).
[Prev in Thread] | Current Thread | [Next in Thread] |