Re: e2_fs.c fix for MNT_LOCAL being defined
- From: Marcus von Appen <mva@xxxxxxxxxxxx>
- To: emelfm2@xxxxxxxxxxxxx
- Date: Sat, 21 Feb 2009 14:00:39 +0100
On, Sat Feb 21, 2009, tpgww@xxxxxxxxxxx wrote:
> On Fri, 20 Feb 2009 09:28:18 +0100
> Marcus von Appen <mva@xxxxxxxxxxxx> wrote:
>
> > in src/filesystem/e2_fs.c an error sneaked in (current SVN and 0.5.1
> > upstream package) for the case MNT_LOCAL being defined. A quick fix
> > (without checking, if the logical behaviour is correct) is attached.
>
> Thanks Marcus.
>
> I don't suppose you have a moment to investigate whether, for your
> system, statfs() can be clobbered by an interrupt ?
>
>
> In that case, the preceding 2 lines would be relevant, and we could
> keep the "else".
If you can describe me a scenario, which might produce such a case, I
can try it. I'll read up the internal specs for the FreeBSD statfs() to
see, whether such a case is mentioned there (e.g. exclusive locks or so).
Regards
Marcus
Other related posts: