[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANhTXPT81K5xbGeXbcMZ8YL1Td7JDqD+CQbnowK_-67acikyqQ@mail.gmail.com>
Date: Sat, 17 Nov 2018 16:29:12 +0900
From: Eiichi Tsukata <devel@...ukata.com>
To: andi@...stfloor.org
Cc: "Theodore Ts'o" <tytso@....edu>, adilger.kernel@...ger.ca,
linux-ext4@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [RFC PATCH 0/1] fs: fix race between llseek SEEK_END and write
> >
> > Q2. If it is a bug, how should we fix it?
> >
> > Currently I'm planning to re-introduce generic_file_llseek_unlocked()
> > and inode lock in generic_file_llseek() for SEEK_END. Then replace
> > generic_file_llseek() with generic_file_llseek_unlocked() if it called
> > with inode lock in individual file systems. Please let me know if the
> > way is not appropreate or any other better way to fix it.
>
> Sounds reasonable.
>
> -Andi
Thanks for comments. I'll make a patch.
Eiichi
Powered by blists - more mailing lists