/* SPDX-License-Identifier: GPL-2.0-only */ /* * ocfs1_fs_compat.h * * OCFS1 volume header definitions. OCFS2 creates valid but unmountable * OCFS1 volume headers on the first two sectors of an OCFS2 volume. * This allows an OCFS1 volume to see the partition and cleanly fail to * mount it. * * Copyright (C) 2002, 2004 Oracle. All rights reserved. */ #ifndef _OCFS1_FS_COMPAT_H #define _OCFS1_FS_COMPAT_H #define OCFS1_MAX_VOL_SIGNATURE_LEN … #define OCFS1_MAX_MOUNT_POINT_LEN … #define OCFS1_MAX_VOL_ID_LENGTH … #define OCFS1_MAX_VOL_LABEL_LEN … #define OCFS1_MAX_CLUSTER_NAME_LEN … #define OCFS1_MAJOR_VERSION … #define OCFS1_MINOR_VERSION … #define OCFS1_VOLUME_SIGNATURE … /* * OCFS1 superblock. Lives at sector 0. */ struct ocfs1_vol_disk_hdr { … }; struct ocfs1_disk_lock { … }; /* * OCFS1 volume label. Lives at sector 1. */ struct ocfs1_vol_label { … }; #endif /* _OCFS1_FS_COMPAT_H */