/* This is a way of ensuring that we have something in the system use fields that is compatible with Rock Ridge. Return zero on success.  */
static int check_sp(struct rock_ridge *rr, struct inode *inode)
/* This is a way of ensuring that we have something in the system use fields that is compatible with Rock Ridge. Return zero on success.  */
static int check_sp(struct rock_ridge *rr, struct inode *inode)
{
	if (rr->u.SP.magic[0] != 0xbe)
		return -1;
	if (rr->u.SP.magic[1] != 0xef)
		return -1;
	ISOFS_SB(inode->i_sb)->s_rock_offset = rr->u.SP.skip;
	return 0;
}