On Tue, Jul 20, 2010 at 01:01:18PM -0400, andros@xxxxxxxxxx wrote: > > Fix kfree under spin lock > > Both put_lseg and put_layout are called under the inode i_lock where the > last reference will end up freeing structures. > > I know there has been a lot of churn in this code, but free'ing under the > spin lock is a no-no. kfree under a spinlock is perfectly fine. That is as long as you don't free the spinlock itself. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html