From: Peter Zijlstra Date: Thu, 16 May 2013 18:03:12 +0000 (+0200) Subject: f2fs, lockdep: annotate mutex_lock_all() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~81^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfe35965ecdc6038314d03456b94d9ba451c289d;p=pandora-kernel.git 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-diff-tree failed