[comp.os.minix] Bug in fs/link.c

westerhu@klipper.UUCP (04/08/87)

There is a bug on source line 11304 in fs/link.c

The 'put_inode(rip)' is missing if 'fetch_name(name2,......)' fails.
So, the correct line 11304 should be:

if (fetch_name(name2, name2_length, M1) != OK) {
	put_inode(rip);
	return(err_code);
}


Edo Westerhuis.