/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/include/linux/ext2_fs.h * * Copyright (C) 1992, 1993, 1994, 1995 * Remy Card ([email protected]) * Laboratoire MASI - Institut Blaise Pascal * Universite Pierre et Marie Curie (Paris VI) * * from * * linux/include/linux/minix_fs.h * * Copyright (C) 1991, 1992 Linus Torvalds */ #ifndef _LINUX_EXT2_FS_H #define _LINUX_EXT2_FS_H #include <linux/types.h> #include <linux/magic.h> #define EXT2_NAME_LEN … /* * Maximal count of links to a file */ #define EXT2_LINK_MAX … #define EXT2_SB_MAGIC_OFFSET … #define EXT2_SB_BLOCKS_OFFSET … #define EXT2_SB_BSIZE_OFFSET … static inline u64 ext2_image_size(void *ext2_sb) { … } #endif /* _LINUX_EXT2_FS_H */