> Sorry, Chris - I was being even more than usually stupid. All
> you need do is overload the return value from file_operations.fsync().
> It currently returns zero on success or negative error. You can
> just define a return value of "1" to mean that the fs has taken
> care of syncing the directory info and no further action is needed
> at the fs layer.
But ensure that the user space never sees the "1" return value from
fsync() itself.
-- Matthias Andree - 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/