omfs: fix (mode & S_IFDIR) abuse
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Jul 2011 06:34:33 +0000 (02:34 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Jul 2011 17:05:28 +0000 (13:05 -0400)
commit41c96486f238e6a545f52215f95fe69748abf603
tree580a8706552a41a0e154b440bd7afd80a9e688da
parent569254b0cc4e125ffde48780b215ecaf5f72bbf4
omfs: fix (mode & S_IFDIR) abuse

granted, on a filesystem that has only regular files and directories
it happens to work, but really should be S_ISDIR(mode)...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/omfs/dir.c