/* Returns: The fileset header structure on success, else Zero.  */
static struct vxfs_fsh* vxfs_getfsh(struct inode *ip, int which)
/* Returns: The fileset header structure on success, else Zero.  */
static struct vxfs_fsh* vxfs_getfsh(struct inode *ip, int which)
{
	struct buffer_head		*bp;
	bp = vxfs_bread(ip, which);
	if (bp) {
		struct vxfs_fsh		*fhp;
		if (!(fhp = kmalloc(sizeof(*fhp), GFP_KERNEL)))
			goto out;
		memcpy(fhp, bp->b_data, sizeof(*fhp));
		put_bh(bp);
		return (fhp);
	}
out:
	brelse(bp);
	return NULL;
}