Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com> Change-Id: Ic8ca0cd3bf3621ad5604e83ed24c0fa59a83f124 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13313 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
15 lines
292 B
C
15 lines
292 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright (c) Intel Corporation.
|
|
* All rights reserved.
|
|
*/
|
|
|
|
#include "ftl_sb.h"
|
|
#include "ftl_core.h"
|
|
#include "ftl_layout.h"
|
|
|
|
bool
|
|
ftl_superblock_check_magic(struct ftl_superblock *sb)
|
|
{
|
|
return sb->header.magic == FTL_SUPERBLOCK_MAGIC;
|
|
}
|