]> bbs.cooldavid.org Git - net-next-2.6.git/commit
lockdep: fixup checking of dir inode annotation
authorNamhyung Kim <namhyung@gmail.com>
Mon, 11 Oct 2010 13:38:00 +0000 (22:38 +0900)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Oct 2010 01:18:23 +0000 (21:18 -0400)
commita3314a0ed389f51a51695120b429eccd45b3a165
treebf8ce1231099e372dd25dc71d467831beaaccff7
parent306fb0979443419288594446a348155a8027dcf2
lockdep: fixup checking of dir inode annotation

Since inode->i_mode shares its bits for S_IFMT, S_ISDIR should be
used to distinguish whether it is a dir or not.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inode.c