From: Lino Sanfilippo Date: Tue, 14 Jun 2011 15:29:48 +0000 (+0200) Subject: fsnotify: take groups mark_lock before mark lock X-Git-Tag: v3.8-rc1~11^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=104d06f08ea59247cb0e7e548c5a5d22d21dcfd5;p=pandora-kernel.git fsnotify: take groups mark_lock before mark lock Race-free addition and removal of a mark to a groups mark list would be easier if we could lock the mark list of group before we lock the specific mark. This patch changes the order used to add/remove marks to/from mark lists from 1. mark->lock 2. group->mark_lock 3. inode->i_lock to 1. group->mark_lock 2. mark->lock 3. inode->i_lock Signed-off-by: Lino Sanfilippo Signed-off-by: Eric Paris --- Reading git-diff-tree failed