blob: 0a4760cdd88ab82ff26718dc5c78653a0322ac0f [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/storage/minfs/minfs_private.h"
namespace minfs {
bool Minfs::DirtyCacheEnabled() {
#ifdef MINFS_ENABLE_DIRTY_CACHE
return true;
#else
return false;
#endif // MINFS_ENABLE_DIRTY_CACHE
}
} // namespace minfs