status_t Inode::Sync() { if (!IsFileCacheDisabled()) return file_cache_sync(fCache); return B_OK; }
status_t Inode::Sync() { if (HasFileCache()) return file_cache_sync(fCache); return B_OK; }