libafs: getattr should include S_IFDIR on fake dirs
authorDerrick Brashear <shadow@dementix.org>
Wed, 18 Jul 2012 04:02:16 +0000 (00:02 -0400)
committerDerrick Brashear <shadow@dementix.org>
Sun, 22 Jul 2012 12:21:41 +0000 (05:21 -0700)
commitcb807db4505a8d4a4c904d32a59ad168d4650e4c
tree06312d3202b0f30170662cfa9a56283c9cc5450b
parent30e26c07d42d8e8208c51719bc823e387d5919ee
libafs: getattr should include S_IFDIR on fake dirs

on macos, VDIR is not useful as part of a directory mode. it's just not.
on aix, solaris, we presumably want to pass S_ISDIR, so do so

Change-Id: I04ee49857febf1cf96d30bd6a8271f99192630c8
Reviewed-on: http://gerrit.openafs.org/7789
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afs/VNOPS/afs_vnop_attrs.c