|
|
Subscribe / Log in / New account

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.


to post comments

Incomplete patch?

Posted Mar 27, 2007 15:50 UTC (Tue) by giraffedata (guest, #1954) [Link]

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?


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds