Re: [PATCH] nfs: init req_lock in nfs_alloc_inode

From: Andrew Morton
Date: Fri Feb 16 2007 - 19:15:57 EST


On Fri, 16 Feb 2007 11:05:32 -0600
olof@xxxxxxxxx (Olof Johansson) wrote:

> + nfsi->req_lock = SPIN_LOCK_UNLOCKED;

This can confound lockdep. Please use spin_lock_init().
-
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/