From bfe35965ecdc6038314d03456b94d9ba451c289d Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Thu, 16 May 2013 20:03:12 +0200 Subject: [PATCH] f2fs, lockdep: annotate mutex_lock_all() Majianpeng reported a lockdep splat for f2fs. It turns out mutex_lock_all() acquires an array of locks (in global/local lock style). Any such operation is always serialized using cp_mutex, therefore there is no fs_lock[] lock-order issue; tell lockdep about this using the mutex_lock_nest_lock() primitive. Reported-by: majianpeng Signed-off-by: Peter Zijlstra Signed-off-by: Jaegeuk Kim --- Reading git-format-patch failed