Re: [patch] fs: remove local variable copy of f_pos to enable thread-safe updates

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Al Viro
Date: Friday, May 2, 2008 - 8:41 am

On Fri, May 02, 2008 at 08:33:50AM -0700, Matti Linnanvuori wrote:


Oh, yes it does - current tree guarantees that variable passed to ->read()
will not change under it, so any code that relied on that got broken.

And no, modifying every driver's ->read() is not going to be fun - it's
not just filesystems.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch] fs: remove local variable copy of f_pos to ena ..., Al Viro, (Fri May 2, 8:41 am)