[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100929215229.160c7bce.akpm@linux-foundation.org>
Date: Wed, 29 Sep 2010 21:52:29 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Dave Chinner <david@...morbit.com>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 05/17] fs: icache lock i_count
On Wed, 29 Sep 2010 22:18:37 +1000 Dave Chinner <david@...morbit.com> wrote:
> - if (atomic_read(&inode->i_count) != 1)
> + if (inode->i_count != 1)
This really should have been renamed to catch unconverted code.
Such code usually wouldn't compile anyway, but it will if it takes the
address of i_count only (for example).
And maybe we should access this guy via accessor functions, dunno.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists