[PATCH v7 3/4] dcache: replace d_lock/d_count by d_lockcnt

2013-08-05 Thread Waiman Long
This patch replaces the d_lock and d_count fields of the dentry data structure by the combined d_lockcnt structure. A d_lock macro is defined to remap the old d_lock name to the new d_lockcnt.lock name. This is needed as a lot of files use the d_lock spinlock. Read accesses to d_count are

[PATCH v7 3/4] dcache: replace d_lock/d_count by d_lockcnt

2013-08-05 Thread Waiman Long
This patch replaces the d_lock and d_count fields of the dentry data structure by the combined d_lockcnt structure. A d_lock macro is defined to remap the old d_lock name to the new d_lockcnt.lock name. This is needed as a lot of files use the d_lock spinlock. Read accesses to d_count are