Messages in this thread | | | Date | Tue, 9 Dec 2003 10:09:59 +0000 | From | viro@parcelfa ... | Subject | Re: [PATCH 2.4.23, 2.6.0-test11] fix d_type in readdir in isofs |
| |
On Tue, Dec 09, 2003 at 10:47:32AM +0100, Domen Puncer wrote: > Hi! > > Played with scandir, and noticed iso9660's files d_type is always 0, > so here's a fix.
No, it isn't. DT_UNKNOWN is "I don't know; make no assumptions". DT_REG is "regular file". Returning it when object in question is e.g. a symlink is wrong. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |