doingdirectory is really a boolean, use an int rather then ino_t and cast
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 25 Aug 2004 00:05:11 +0000 (00:05 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 25 Aug 2004 00:05:11 +0000 (00:05 +0000)
commit9ab06300de81f9d004a93402101c0ca603dac821
treec9b4d5b6303bfb6a6152b5a4cc373cd8c2cdc9dc
parent2915401af8fb8063518f5a0cd21fe63f2d5664f5
doingdirectory is really a boolean, use an int rather then ino_t and cast
it properly for the one case where it needs to be cast.  Document the special
case.  Cast -1 to (daddr_t) when checking for daddr_t special cases.
sys/vfs/ufs/ufs_vnops.c