From: Dave Chinner Date: Thu, 27 Feb 2014 05:51:39 +0000 (+1100) Subject: xfs: fix directory inode iolock lockdep false positive X-Git-Tag: v3.15-rc1~90^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93a8614e3a4dccd526aca34e892ac0b27f64b506;p=pandora-kernel.git xfs: fix directory inode iolock lockdep false positive The change to add the IO lock to protect the directory extent map during readdir operations has cause lockdep to have a heart attack as it now sees a different locking order on inodes w.r.t. the mmap_sem because readdir has a different ordering to write(). Add a new lockdep class for directory inodes to avoid this false positive. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner --- Reading git-diff-tree failed