Re: [PATCH 03/17] fs: icache lock inode hash

From: Christoph Hellwig
Date: Fri Oct 01 2010 - 02:06:55 EST


On Wed, Sep 29, 2010 at 10:18:35PM +1000, Dave Chinner wrote:
> From: Nick Piggin <npiggin@xxxxxxx>
>
> Currently the inode hash lists are protected by the inode_lock. To
> allow removal of the inode_lock, we need to protect the inode hash
> table lists with a new lock. Nest the new inode_hash_lock inside the
> inode_lock to protect the hash lists.

There is no reason to make inode_hash_lock global, it's only used inside
inode.c

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/