Incomplete patch?
Incomplete patch?
Posted Mar 26, 2007 17:44 UTC (Mon) by shishir (subscriber, #20844)In reply to: Incomplete patch? by giraffedata
Parent article: fallocate()
i guess this might be a case where we assume that if a filesystem does not explicitly initialise the field, it is NULL, as the system call code does check for this field to be non-NULL. If it is NULL, it returns -ENOSYS. So, I guess, you are right in saying that there are certain per-filesystem patches that need to be installed.
Posted Mar 27, 2007 15:50 UTC (Tue)
by giraffedata (guest, #1954)
[Link]
Incomplete patch?
I guess this might be a case where we assume that if a filesystem does not explicitly initialise the field, it is NULL, as the system call code does check for this field to be non-NULL. If it is NULL, it returns ->ENOSYS. So, I guess, you are right in saying that there are certain per-filesystem patches that need to be installed.
So you're saying that the assumption that if a filesystem driver does not explicitly initialize the field, it is NULL, is wrong? What makes you think that?