Re: [patch 29/52] fs: icache lock i_count

Frank Mayhar
2010-07-07T17:01:24Z

On Tue, 2010-07-06 at 06:38 -0400, Theodore Tso wrote:
> A lot of the text in this mail thread, including your discussion of the new
> locking hierarchy, and why things are the way they are, would be good
> fodder for a new documentation file. And if you don't want to rename
> i_lock, because no better name can be found, we should at least
> document that starting as of 2.6.35/36 the meaning of i_lock changed.

Actually I like the idea of renaming i_lock. It adds a bit of code
churn but renaming it to more clearly reflect its function makes sense
to me and might catch uses of it that might have been missed earlier.
--
Frank Mayhar <fmayhar@google.com>
Google, Inc.