// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2000-2001 Christoph Hellwig. */ /* * Veritas filesystem driver - object location table support. */ #include <linux/fs.h> #include <linux/buffer_head.h> #include <linux/kernel.h> #include "vxfs.h" #include "vxfs_olt.h" #include "vxfs_extern.h" static inline void vxfs_get_fshead(struct vxfs_oltfshead *fshp, struct vxfs_sb_info *infp) { … } static inline void vxfs_get_ilist(struct vxfs_oltilist *ilistp, struct vxfs_sb_info *infp) { … } static inline u_long vxfs_oblock(struct super_block *sbp, daddr_t block, u_long bsize) { … } /** * vxfs_read_olt - read olt * @sbp: superblock of the filesystem * @bsize: blocksize of the filesystem * * Description: * vxfs_read_olt reads the olt of the filesystem described by @sbp * into main memory and does some basic setup. * * Returns: * Zero on success, else a negative error code. */ int vxfs_read_olt(struct super_block *sbp, u_long bsize) { … }